On Jan 5, 2012, at 7:42 AM, ollies...@googlemail.com wrote: > $command = "( /apps/path/scripts/install.sh || true ) && touch /etc/ > puppet/puppet.script.done" > > exec { install: > command => "$command",
Remember that putting something in double quotes is a request to have the value (re)evaluated for metacharacters. I doubt you want this. I would put the command itself in single quotes, and then just use > command => $command, ...since what you want is for the shell, and not puppet, to be evaluating those metacharacters. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.