On Sun, Jan 9, 2011 at 12:11 PM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote:
> On Fri, Jan 07, 2011 at 09:41:39PM +0000, R.I.Pienaar wrote: > > (forced to top post due to your html email) > > > > You cant avoid the scoping issues cos its broken. You can work around > them though. > > > > To be honest I always found the current scoping kind of clear (because I > thought of include like of »open a new block/subscope and drop the class > contents right here«. What I always considered wrong was that you can > include a > class more then once and it surprised me that it works. So you state > that the include should always happen in top (node) scope? At least the > multiple include whould then be sane. > > And 2 short questions: > - Do parametrised classes behave any different from included classes > (regarding the scope) > they behave like resources, in that they can only be declared once the obvious difference is they allow parameters and can set defaults ;) > - How would a parametrised class inherit from another parametrised > class? > If the parent class requires parameters than it also must be declared and those parameters should be set. > > -Stefan > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.