summaryrefslogtreecommitdiffstats
path: root/lib/puppet/networkclient.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-07-03 23:15:15 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-07-03 23:15:15 +0000
commit2e78526b6bf646584feb19adb95a4f5fdd8f8b7a (patch)
tree83ee22f8ef7563580fbbedab1d061ca337b8ad50 /lib/puppet/networkclient.rb
parente57c5131aee017bd015e9419b5a1ceeb306677a7 (diff)
downloadpuppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.tar.gz
puppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.tar.xz
puppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.zip
Some updates resulting from trying to track down a segfault introduced when I upgraded to 1.8.4-5 in Debian. I never found the segfault and had ot downgrade to 1.8.4-1. I expect it will not be encountered in real life, only in testing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1355 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/networkclient.rb')
-rw-r--r--lib/puppet/networkclient.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/networkclient.rb b/lib/puppet/networkclient.rb
index 09c6bc0ab..d6975c5c2 100644
--- a/lib/puppet/networkclient.rb
+++ b/lib/puppet/networkclient.rb
@@ -57,14 +57,14 @@ module Puppet
method
end
newclient.send(:define_method,method) { |*args|
- #Puppet.info "Calling %s" % method
+ Puppet.debug "Calling %s.%s" % [namespace, method]
#Puppet.info "peer cert is %s" % @http.peer_cert
#Puppet.info "cert is %s" % @http.cert
begin
call("%s.%s" % [namespace, method.to_s],*args)
rescue OpenSSL::SSL::SSLError => detail
raise NetworkClientError,
- "Certificates were not trusted"
+ "Certificates were not trusted: %s" % detail
rescue XMLRPC::FaultException => detail
#Puppet.err "Could not call %s.%s: %s" %
# [namespace, method, detail.faultString]