Issue #19789 has been reported by Gerard Hickey.

----------------------------------------
Bug #19789: Always print the system that is being attempted when an error 
occurs. 
https://projects.puppetlabs.com/issues/19789

* Author: Gerard Hickey
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to