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

Puppet may fail if setting values appear to be numerics

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.9.0
    • None
    • Coremunity
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • Hide
      It's now possible to configure a puppet setting to a value containing all digits, such as certname=000000000180
      Show
      It's now possible to configure a puppet setting to a value containing all digits, such as certname=000000000180
    • Needs Assessment

    Description

      /etc/puppetlabs/puppet/puppet.conf
      certname = 000000000180
      ------------------------------------------------------------------------------------------------------
      Error: Could not parse /etc/puppetlabs/puppet/puppet.conf: invalid value for Integer(): "000000000180"
      Error: Could not request certificate: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name
      or service not known)
      Exiting; failed to retrieve certificate and waitforcert is disabled
      ------------------------------------------------------------------------------------------------------
      certname in quotations makes puppet agent run but then an error on the server side is thrown:
      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: invalid value for Integer(): "000000000180"

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              reimar Reimar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support