Issue #4427 has been updated by Markus Roberts.

Tracker changed from Bug to Feature
Status changed from Unreviewed to Needs design decision
Affected version deleted (2.6.1rc2)

There are several tricky design issues implicit here (currying, anyone?)

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

Reply via email to