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

[RFE] Add the ability to use host collection as a matcher for smart class parameters.

XMLWordPrintable

    • False
    • False
    • 0
    • Undefined
    • None

      Description of problem:

      Presently there are only four matcher values for overriding smart class parameters in Satellite 6 which are fqdn, hostgroup, os and domain.
      It would be very beneficial to be able to use host collections as a matcher value as this is the primary grouping method in Satellite and would be a common requirement to setup unique puppet overrides on.

      Version-Release number of selected component (if applicable):
      Satellite 6.2

      Actual results:
      We cannot find any fact/YAML definition related to 'Host Collection' in any
      hosts which are associated to Host collections. Fact is required in hosts to create a matcher in Smart Class Parameter.

      How to reproduce:
      In satellite 6 server, customer want to add below attributes:
      Navigate to Configure>Classes>Smart Class Parameter>check Override box>Prioritize attribute order
      #hostcollection (Host Collection)

      Once this is added it is listed in "Specify matchers" drop down list where customer can select:

      Attribute type Name
      -------------- -------
      hostcollection = APACHOSTS or NAHOSTS

      Above hosts collections (APACHOSTS/NAHOSTS etc) are earlier created in satellite and contains several hosts. Based on the specific matcher, new 'values' can be passed to all hosts.

      Question arises here - Is there any facts or YAML definition available in all the hosts that is part of host collection?

      I checked some hosts (Monitor->Facts) and cannot find any such facts. After running #facter in any puppet hosts, I can see below several facts which can be used to create a matcher in Smart Class Parameter but cannot find any facts related to host collection -

      fqdn,
      os,
      domain,
      hostname etc

      Expected results:
      Cu is requesting to create a matcher based on host collection. Currently, we cannot find any facts/YAML definition related to Host Collection in any hosts.
      Once fact is available it can be used to create a matcher.

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: