On Tue, 18 Nov 2008 11:22:40 +0100
Peter Meier wrote:

> 
> Hi
[...]

> it does. However exec execs every time puppet runs, unless you specify
> certain conditions. Like unless, onlyif or refreshonly.
Ok, I tried to define a unless condition, but I had no good ideas for
that (it's not as easy as rpm -qa|grep whatever)... 
 
> And the latter is what you want. From:
> http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec
> 
> "refreshonly
> 
> The command should only be run as a refresh mechanism for when a
> dependent object is changed. It only makes sense to use this option
> when this command depends on some other object;"
> 
> and afterwards exactly the example you'd like to do is listed.

Works fine!



Thanks Pete, too much doc in few days, I mix parameters from diff
types! :-)

Sorry for not seeing that in type ref.

> greets pete
Cheers,
Arnau

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to