----- Original Message -----
> From: "jimbob palmer" <jimbobpal...@gmail.com>
> To: puppet-users@googlegroups.com
> Sent: Tuesday, February 7, 2012 11:52:23 AM
> Subject: [Puppet Users] class inheritance question
> 
> If I have a class
> 
> class something {}
> 
> and a subclass
> 
> class something::blah ($var=0) inherits something {
> class { 'something::aaa': somevar => 1, }
> class { 'something::bbb': somevar => 2, }
> }
> 
> should the classes called from the subclass inherit the parent class?
> e.g. which is good practice?
> 
> class something::bbb($somevar) inherits something {}
> or:
> class something::bbb($somevar) {}
> 
> Also, what is the best way to set $somevar in something::bbb from a
> node definition?

http://projects.puppetlabs.com/issues/6539

-- 
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