On 08/05/2011 04:25 AM, Thomas Rasmussen wrote:
Is there any way of overriding a previously include of a class?
Yes. See
http://docs.puppetlabs.com/guides/troubleshooting.html#class-inheritance-and-variable-scope
Something like (warning: untested):
Class["Sudoers::Config"] { env => 'custom_server', }
Might do it. Then again, nodes are not classes, so it might not work.
In which case,
do your work in classes, and just use nodes to include the classes.
--
vagn
--
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.