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

Puppet::Node should log both hostname and domain when it cannot put together an FQDN

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Puppet::Node needs two pieces of information to put together an "fqdn". It needs a hostname and the domain, which come from Facter. If it doesn't have one of these it prints out somewhat helpful error message: `Puppet.warning "Host is missing hostname and/or domain: #

      {name}

      "`

      This could be improved by also logging both parameters, so one can tell which piece of information puppet couldn't find.

      https://github.com/puppetlabs/puppet/blob/master/lib/puppet/node.rb#L147

      Attachments

        Activity

          People

            Unassigned Unassigned
            brian.cosgrove Brian Cosgrove
            Kurt Wall Kurt Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support