Hi, i think you can solve your Problem by adding
provider => shell, http://docs.puppetlabs.com/references/stable/type.html#exec rgds Florian koch On Jan 5, 4:54 pm, krish <das.srikris...@gmail.com> wrote: > On Thu, Jan 5, 2012 at 9:12 PM, ollies...@googlemail.com > > <paul.seym...@barcap.com> wrote: > > 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" > > Why do you have to do a || with true here? > afaik, /apps/path/scripts/install.sh && touch > /etc/puppet/puppet.script.done should do.. or even better use a ; > instead of && > > > unless => 'test -f /etc/puppet.script.done' > > Just wondering if ^ this is /etc/puppet/puppet.script.done ? :) > > -- > Srikrishna Daswww.toonheart.com -- 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.