[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 d53bcbf82de34f9af5da0c70d7feb99d6d751550
Author: James Turnbull <james at lovedthanlost.net>
Date:   Tue Apr 1 10:34:29 2008 +1100

    Better fix for #1020

diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index f6a5e8d..357a766 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -49,6 +49,11 @@ module Puppet::Network
                             self.recycle_connection
                             retry
                         end
+                        ["certificate verify failed", "hostname was not match", "hostname not match"].each do |str|
+                            if detail.message.include?(str)
+                                Puppet.warning "Certificate validation failed; considering using the certname configuration option"
+                            end
+                        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