Issue #7890 has been updated by Adrien Thebo. Status changed from Unreviewed to Duplicate
---------------------------------------- Bug #7890: Cannot override class parameters https://projects.puppetlabs.com/issues/7890 Author: Andreas Roth Status: Duplicate 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. <pre> 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 </pre> 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.
