Issue #13537 has been updated by Paul Canham.

This looks like a duplicate of 5517
----------------------------------------
Bug #13537: Overriding class parameters doesn't actually pass new parameters.
https://projects.puppetlabs.com/issues/13537#change-82097

Author: Marek Kroemeke
Status: Needs More Information
Priority: Normal
Assignee: Nigel Kersten
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to