Issue #19789 has been updated by Roger Kennedy.
That certainly seems like something within my abilities. I don't think I'll be able to hack it out today as part of the triage. ---------------------------------------- Feature #19789: Always print the system that is being attempted when an error occurs. https://projects.puppetlabs.com/issues/19789#change-94619 * Author: Gerard Hickey * Status: Accepted * Priority: Normal * Assignee: Roger Kennedy * Category: error reporting * Target version: * Affected Puppet version: * Keywords: errors * Branch: ---------------------------------------- When a failure to connect to a hostname occurs, the hostname attempted should be included in the error output. For example: root@lvs2b1c-705546:/var/lib/puppet# puppet agent -t Info: Creating a new SSL key for lvs2b1c-705546.example.com Error: Could not request certificate: getaddrinfo: Name or service not known Exiting; failed to retrieve certificate and waitforcert is disabled The contents of the current puppet.conf is [main] server = puppet.example.com ca_server = puppet-ca.example.comm [agent] environment = common logdir = /var/log/puppet rundir = /var/run/puppet vardir = /var/lib/puppet ssldir = $vardir/ssl waitforcert = 30 The failure is clearly in the puppet.conf, but without knowing what host is being attempted (and believing that the puppet.conf is correct) a bunch of needless time can be spent trying to fix problems that don't exist (like resolver problems). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
