From cd314fa0531b0d71017e22b9db4cec2fc21c7e7c Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 7 Aug 2008 17:44:45 -0700 Subject: Documenting a bit of a test Signed-off-by: Luke Kanies --- spec/integration/indirector/certificate_revocation_list/rest.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/integration/indirector/certificate_revocation_list/rest.rb b/spec/integration/indirector/certificate_revocation_list/rest.rb index 64c366d38..872f4522c 100755 --- a/spec/integration/indirector/certificate_revocation_list/rest.rb +++ b/spec/integration/indirector/certificate_revocation_list/rest.rb @@ -43,7 +43,10 @@ describe "Certificate REST Terminus" do Puppet::SSL::Host.ca_location = :none Puppet::SSL::CertificateRevocationList.destroy("ca") - puts Puppet::Network::HttpPool.ssl_host.ssl_store + # This is necessary so that we create the SSL store before we start + # using REST. This is necessary to prevent an infinite loop, + # which only occurs during testing. + Puppet::Network::HttpPool.ssl_host.ssl_store # Then switch to a remote CA, so that we go through REST. Puppet::SSL::Host.ca_location = :remote -- cgit