Bug #5247
closed
Smart Class parameters cannot be overridden in nested host groups
Added by Martin Jackson almost 11 years ago.
Updated over 6 years ago.
Category:
Puppet integration
|
Description
Running the 1.5.0RC1 with puppet 3.5.1 from puppetlabs.
I have three hostgroups:
base
base/nullmailer
base/nullmailer/foreman
I have the foreman's puppet class applied to base, and am overriding puppet::server to "false". I can see the value set in base. I also have puppet::server_git_repo overridden to "true".
I do not see those variables in either base/nullmailer or in base/nullmailer/foreman.
I know some organizations depend greatly on parameter inheritance, so I am setting the priority to "High".
I can provide logs etc. if needed.
Note: The title should read "nested hostgroups", sorry.
- Subject changed from Smart Class parameters cannot be overridden in nested classes to Smart Class parameters cannot be overridden in nested host groups
- Category set to Puppet integration
- Status changed from New to Ready For Testing
- Assignee set to Dominic Cleal
- Target version set to 1.8.4
- Translation missing: en.field_release set to 4
https://github.com/theforeman/foreman/pull/1394
This seems to occur when the environment on the child host group has an inherited environment ("Inherit parent (production)"). Explicitly set environments, or the above patch should resolve it. Thanks!
Tested and working. I could see and override values in nested hostgroups.
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF