Re: [Puppet Users] Re: Exit gracefully

2010-12-23 Thread Peter Meier
> Thanks. That should do it. Like a lot of things in puppet, not pretty, but > it will get the job done. I think your idea is not that bad and it's simply not *yet* possible with puppet. Hence, the best goal towards a pretty solution in puppet is to raise a feature request for such a function: htt

Re: [Puppet Users] Re: Exit gracefully

2010-12-22 Thread Douglas Garstang
On Tue, Dec 21, 2010 at 9:44 PM, donavan wrote: > On Dec 21, 4:38 pm, Douglas Garstang wrote: > > I'd like to be able to put specific modules into 'maintenance' mode if a > > variable has been set. I can check the variable, but the only way I can > see > > to have puppet skip processing is to us

[Puppet Users] Re: Exit gracefully

2010-12-21 Thread donavan
On Dec 21, 4:38 pm, Douglas Garstang wrote: > I'd like to be able to put specific modules into 'maintenance' mode if a > variable has been set. I can check the variable, but the only way I can see > to have puppet skip processing is to use the fail() function, which stops > everything with a nasty