Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-27216

Puppet parameters are not inherited from a nested Hostgroup during global registration

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • To Do
    • None

      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.

            Unassigned Unassigned
            rhn-support-amasolov Alexey Masolov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: