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

Puppet 7 changes certname to hostname, was fqdn

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: puppet-agent 7.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Sub-team:
    • Story Points:
      5
    • Sprint:
      ghost-9.12
    • Method Found:
      Needs Assessment
    • QA Risk 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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support