I've always thought there should be an implicit X::disabled class that gets 
included for every host where X isn't included.

Then if I create said class, it gets automatically executed on all hosts that 
don't include X. As it is now, one still has to go through and add X::disabled 
to every host, which is largely defeating the purpose of having a X::disabled 
class in the first place. (That purpose, for those not paying attention, is to 
make sure that things are in a known state, including services *not* running 
where they shouldn't be.)

d.



> Create a class called sg_node::disabled that inherits sg_node and
> overrides all of it's resources to "undo" them.  This usually means
> setting 'ensure =>absent' (or 'undef' if applicable) for most
> resources.  For execs, I usually set 'unless => true.'
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to