Issue #13537 has been reported by Marek Kroemeke.
----------------------------------------
Bug #13537: Overriding class parameters doesn't actually pass new parameters.
https://projects.puppetlabs.com/issues/13537
Author: Marek Kroemeke
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
Hello,
OS: RHEL 5.8, RHEL 5.7
Puppet: 2.7.11, 2.7.12*
I'm not 100% certain if this a design decision or simply a bug - but because
puppet doesn't complain about the syntax I suspect this is a bug.
<pre>
class nodetype::foo {
class { network:
default_gateway => '172.23.1.1',
routes => {
multicast => {
comment => 'multicast over eth0',
address => '224.0.0.0',
netmask => '240.0.0.0',
},
}
}
}
class nodetype::foo::egg inherits nodetype::foo {
Class["network"] {
default_gateway => '172.23.1.2',
}
}
</pre>
This does not work - i.e. parameter passes is still 172.23.1.1.
Best regards,
Marek
* daysman@#puppet
--
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.