summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-30 23:17:40 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-30 23:17:40 +0000
commit4615e3a70cf53ba62a00d5d8f01a6d0ec9dffc26 (patch)
tree87245a7401376531048c90e6b8afcddf1b1a452a /bin
parentca5d0682705a3b5ee175e25b6cb5fca939a85443 (diff)
Fixing Client.read_cert so that it automatically adds the certificate information to the driver when the certificate is correctly read. This makes sure the Net::Http instance has the cert all set up.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2375 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppetd4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/puppetd b/bin/puppetd
index 981e2c1ae..35d053b4e 100755
--- a/bin/puppetd
+++ b/bin/puppetd
@@ -346,7 +346,9 @@ unless client.read_cert
end
# Now read the new cert in.
- unless client.read_cert
+ if client.read_cert
+ Puppet.notice "Got signed certificate"
+ else
Puppet.err "Could not read certificates after retrieving them"
exit(34)
end