-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.15.z
Description of problem:
Puppet parameters (server, environment, etc) are not used during global registration if they are coming from a nested host group with inheritance.
How reproducible:
100%
Steps to Reproduce:
1. Create a Hostgroup and set puppet parameters
2. Create another one and make the first one its parent. Inherit all parameters
3. Generate the global registration script using this Hostgroup and execute on a client
Actual behavior:
The puppet part of global registration is getting skipped because this part is not getting executed:
<% if !host_param_true?('skip-puppet-setup') && (host_puppet_server.present? || host_param_true?('force-puppet')) -%>
Expected behavior:
Puppet agent is installed and puppet configuration applied as part of global registration.
Business Impact / Additional info:
If I set 'force-puppet' to true then everything works.