class x inherits y { Resource["name"] { parameter => "newvalue" } }
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#id6 Regards, AJ On 7/01/09 3:18 PM, "Ben Beuchler" <ins...@gmail.com> wrote: > > I'm fairly certain I encountered the preferred pattern for inheriting > from a class for the specific purpose of disabling it. I can't seem > to find it anymore. Any pointers? > > A specific example would be our ldapauth module. The main class > installs a few packages and files in order to activate LDAP auth. > This class is be included by default in all nodes. I would like to > have an ldapauth::disabled that can be added to a node to prevent > realization of this class. > > Thanks! > > -Ben > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---