Andreas Kuntzagk
2011-May-02 13:37 UTC
[Puppet Users] exec resource: negate onlyif condition
Hi, today I''m stupid. How can I negate the test for execs onlyif? I want to run the exec onlyif command returns 1. regards, Andreas -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Felix Frank
2011-May-02 13:39 UTC
Re: [Puppet Users] exec resource: negate onlyif condition
On 05/02/2011 03:37 PM, Andreas Kuntzagk wrote:> Hi, > > today I''m stupid. How can I negate the test for execs onlyif? > > I want to run the exec onlyif command returns 1. > > regards, AndreasHi, use "unless" instead of "onlyif". Cheers, Felix -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Andreas Kuntzagk
2011-May-02 13:47 UTC
Re: [Puppet Users] exec resource: negate onlyif condition
Stupid me! Did not see this. Thanks. Felix Frank wrote:> On 05/02/2011 03:37 PM, Andreas Kuntzagk wrote: >> Hi, >> >> today I''m stupid. How can I negate the test for execs onlyif? >> >> I want to run the exec onlyif command returns 1. >> >> regards, Andreas > > Hi, > > use "unless" instead of "onlyif". > > Cheers, > Felix >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.