exec resource: negate onlyif condition

1,242 views
Skip to first unread message

Andreas Kuntzagk

unread,
May 2, 2011, 9:37:35 AM5/2/11
to puppet...@googlegroups.com
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

Felix Frank

unread,
May 2, 2011, 9:39:58 AM5/2/11
to puppet...@googlegroups.com

Hi,

use "unless" instead of "onlyif".

Cheers,
Felix

Andreas Kuntzagk

unread,
May 2, 2011, 9:47:59 AM5/2/11
to puppet...@googlegroups.com
Stupid me!
Did not see this.

Thanks.

Reply all
Reply to author
Forward
0 new messages