Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5097

Hostname and Domain as trusted facts

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.3.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-09-02, Client 2015-09-16, Client 2015-11-11
    • Release Notes:
      New Feature
    • Release Notes Summary:
      This change adds two new trusted facts, hostname and domainname, which can be handy in a hiera hierarchy. See the ticket description for an example of how it might be used in hiera.

      Description

      It would be nice if hostname and domain name could be extracted from certname in trusted facts.
      Our use case is to use them in Hiera's hierarchy.

      :hierarchy:
            - "%{::trusted.domainname}/%{::trusted.hostname}"
            - "%{::trusted.domainname}"
            - common
      

      Code and Specs ready to be reviewed

      Cheers,

        Attachments

          Activity

            People

            • Assignee:
              erict Eric Thompson
              Reporter:
              aimnor Romain Fihue
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support