[Puppet Users] Re: file / notify / exec / subscribe

2008-11-18 Thread Arnau Bria
On Tue, 18 Nov 2008 11:32:32 +0100 Thomas Bellman wrote: > > Arnau Bria wrote: > > > In the example I have notify and subscribe, but I've been playing > > with only one, with only the other and both, and ALWAYS exec > > "yaim_conf" is executed. > > You are missing the refreshonly parameter to

[Puppet Users] Re: file / notify / exec / subscribe

2008-11-18 Thread Arnau Bria
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 r

[Puppet Users] Re: file / notify / exec / subscribe

2008-11-18 Thread Thomas Bellman
Arnau Bria wrote: > In the example I have notify and subscribe, but I've been playing with > only one, with only the other and both, and ALWAYS exec "yaim_conf" is > executed. You are missing the refreshonly parameter to the exec type. (Nice to see other LCG sites using Puppet, by the way. :-)

[Puppet Users] Re: file / notify / exec / subscribe

2008-11-18 Thread Peter Meier
Hi > [...] > One or more objects that this object depends on. Changes in the subscribed to > objects result in the dependent objects being refreshed (e.g., a service will > get restarted). For instance: > [...] > Currently the exec, mount and service type support refreshing. > > SO exec should