From 7fdf2bb23fbc5a3cb2468fb6b980eaf556d29c64 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 3 Nov 2008 22:05:20 -0600 Subject: Retrieving the CA certificate before the client certificate. We have to have a CA cert first, because the host will start using the client cert as soon as it's available, but it's not functional without a CA cert. Also removing extra stupid stuff from wait_for_cert -- the connection is now always recycled, which is much simpler. Signed-off-by: Luke Kanies --- bin/puppetd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/puppetd b/bin/puppetd index 758494c4f..efd182426 100755 --- a/bin/puppetd +++ b/bin/puppetd @@ -350,7 +350,7 @@ end host = Puppet::SSL::Host.new cert = host.wait_for_cert(options[:waitforcert]) -client.recycle_connection if cert == :new +client.recycle_connection objects = [] -- cgit