Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-3496

Puppet 7 changes certname to hostname, was fqdn

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • puppet-agent 7.0.0
    • None
    • None
    • Night's Watch
    • 5
    • ghost-9.12
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet Version: 7.0.0, Facter 4.0.46
      OS Name/Version: Debian 10

      Puppet 6 used fqdn for certname. Puppet 7 uses hostname. This change isn't mentioned in the release notes:

      Documentation still says certname defaults to the fully qualified domain name: https://puppet.com/docs/puppet/7.0/config_important_settings.html

      Desired Behavior:
      Keep using fqdn for certname.

      Actual Behavior:
      Suddenly agents want to use their short hostname for the certname, which causes them to request new certificates.

      This is despite facter still having the correct values:

      kenyon@hydrogen ~ % facter hostname
      hydrogen
      kenyon@hydrogen ~ % facter fqdn
      hydrogen.kenyonralph.com
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kenyon Kenyon Ralph
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support