Issue #4427 has been updated by Stefan Schimanski. Assigned to set to anarcat -
Another implicit design issue: Classes are supposed to be singletons. This results in the question when classes are considered to be equal: - independently from parameters, e.g. foo (x => 1) == foo (x => 2) - when all parameters are considered equal, e.g. foo (x => 1) != foo (x => 2) ---------------------------------------- Feature #4427: Deriving from parameterized classes not implemented or not documented http://projects.puppetlabs.com/issues/4427 Author: Stefan Schimanski Status: Needs design decision Priority: Normal Assigned to: anarcat - Category: parameterized classes Target version: 2.6.1 Affected version: Keywords: parameterized classes inheritence Branch: Consider the following parameterized baseclass: class foo ($x=42) { notify { "x = $x": } } There seems to be no way (or it's not documented) to derive another class from foo. Neither class bar inherits foo (x => 0) { } nor class bar { class { foo: x => 0 } } seems to work. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
