Issue #16063 has been updated by eric sorenson. Status changed from Unreviewed to Duplicate
Thanks for the report, this is a duplicate of #5517, please add yourself as a Watcher to that bug to keep abreast of developments. ---------------------------------------- Bug #16063: Parametrized classes overrides silently ignored https://projects.puppetlabs.com/issues/16063#change-69579 Author: Davide Ferrari Status: Duplicate Priority: Normal Assignee: Category: Target version: 2.7.x Affected Puppet version: Keywords: Branch: If I try to override a parameter in a parametrized class (not a puppet resource) from a child class, the override is ignored without issuing any error or warning. <pre> class A ( $my_text = "Class A edited it" ) { file {"/tmp/foo": content => $my_text, ensure => file } } class B { class { "A": my_text => "Class B edited it" } } class B::C () inherits B { Class["B"] { my_text => "Class C edited it" } } </pre> The expected content of /tm/foo should be "Edited by class C", but it is "Edited by class B". I'm using puppet (master & agent) 2.7.18 on Debian Squeeze (from backports) -- 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.
