Issue #7890 has been reported by Andreas Roth.
----------------------------------------
Bug #7890: Cannot override class parameters
https://projects.puppetlabs.com/issues/7890
Author: Andreas Roth
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.0rc3
Keywords:
Branch:
I'm trying to override parameters of a class, but it does not work as expected.
class heimdal($realm='LOCAL.SITE') {
file {
'/tmp/config_test':
ensure => present,
content => "${realm}\n",
mode => 0666;
}
}
class workstation {
class {
heimdal:
realm => 'MYSITE';
}
}
class this_workstation inherits workstation {
Class['heimdal'] {
realm => 'THEOTHERSITE'
}
}
include this_workstation
I would expect 'THEOTHERSITE' in the file /tmp/config_test, but it contains
'MYSITE'.
--
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.