[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 546130d929ce2f82cb074e440993749e74d1f8b4

Micah Anderson micah at riseup.net
Mon Apr 14 02:30:39 UTC 2008


The following commit has been merged in the master branch:
commit e9a2adfa0818a4f5cf493b36947e9f8f3bc82741
Author: James Turnbull <james at lovedthanlost.net>
Date:   Mon Mar 31 09:10:10 2008 +1100

    Added updated fix for #1020

diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index f6a5e8d..b555118 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -48,7 +48,11 @@ module Puppet::Network
                             Puppet.warning "Transient SSL write error; restarting connection and retrying"
                             self.recycle_connection
                             retry
-                        end
+                        elsif detail.message =~ /certificate verify failed/ || /hostname was not match/ || /hostname not match/
+                            Puppet.warning "Certificate verification failed; consider using the certname configuration option"
+                            self.recycle_connection
+                            retry
+                        end 
                         raise XMLRPCClientError,
                             "Certificates were not trusted: %s" % detail
                     rescue ::XMLRPC::FaultException => detail

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list