Hello, I have this stupid exec on a bash script but bear with me. Works OK on an ancient 0.xx Puppet setup. But not on 2.7.9.
$command = "( /apps/path/scripts/install.sh || true ) && touch /etc/ puppet/puppet.script.done" exec { install: command => "$command", cwd => "/apps/path/scripts", path => "/bin:/usr/bin:/sbin:/usr/sbin", timeout => 600, logoutput => false, unless => 'test -f /etc/puppet.script.done' } Whilst this command works OK on Solaris manually running under Puppet gives me:- /Exec[install]/returns: change from notrun to 0 failed: Could not find command '(' Have tried all manner of escaping and single/double quote combos Any ideas on how to make this work ? Cheers -- 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.