2009/5/26 seph <s...@directionless.org>: > > I can't seem to get exec unless to work right, it ignores the unless and > always runs the exec: > > r...@puppet-test:~# cat /tmp/exectest.pp > exec{"echo 1 > /tmp/ran": > path => "/", > unless => "true", > } > r...@puppet-test:~#
Is the program 'true' in your root directory? It's in /bin on my desktop. you should try setting the path to "/bin" or running puppetd with --debug and looking at what command it's running. .r' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---