On Oct 14, 8:50 am, Henrik Lindberg <henrik.lindb...@cloudsmith.com> wrote: > On 10/14/11 3:04 PM, jcbollinger wrote: > > > On Oct 13, 5:16 am, Alexandre<alexandre.fou...@gmail.com> wrote: > > To the best of my knowledge, you cannot inherit from a parameterized > > class. It is one of the lesser of the several reasons I don't like > > them. > > This issue seems relevant:http://projects.puppetlabs.com/issues/4534 > which is fixed in 2.6.3. > > As far as I understand, you either have to set defaults in the > parametrized class, or set them using class defaults
Hmm. Issue 4534 is about a parameterized class inheriting an *un*parameterized one, but it may be that inheriting a parameterized one could work as well under the conditions you describe. Nevertheless, the situations must few and narrow where it makes sense to parameterize the base class, yet it is satisfactory for subclasses to inherit default configuration. That's certainly not the case for the OP. John -- 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.