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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      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

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                brian.cosgrove Brian Cosgrove
                QA Contact:
                Kurt Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: