I am trying to create a "template" for all my servers. I have 2 configurations. An NTP client (which is taken care of in the baseclass class. I want to create an override specific for the NTP servers by declaring something specific in the node declaration. Something like "baseclass::ntp:restrict => true,". Or alternatively, how would I change one of the already declared variable from baseclass::ntp?
Does anyone have any ideas host to do this? This is what I have so far: templates.pp class baseclass { include defaultusers include sudoers include issue class { ntp: ensure => running, servers => ['ntpserver1.host.com', 'ntpserver2.host.com',], autoupdate => false, } } nodes.pp node default { include baseclass } node "ntpserver1.host.com" inherits default { <some code here to declare new variable in baseclass::ntp> <some code here to change existing variable, such as "ensure"> } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.