summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-08-07 17:44:45 -0700
committerLuke Kanies <luke@madstop.com>2008-08-07 17:44:45 -0700
commitcd314fa0531b0d71017e22b9db4cec2fc21c7e7c (patch)
treeec5ce43798f4cab095ee395b884867cad475ae09
parent113d74aaa630f499c8b7989aac6680e22e8e38c8 (diff)
downloadpuppet-cd314fa0531b0d71017e22b9db4cec2fc21c7e7c.tar.gz
puppet-cd314fa0531b0d71017e22b9db4cec2fc21c7e7c.tar.xz
puppet-cd314fa0531b0d71017e22b9db4cec2fc21c7e7c.zip
Documenting a bit of a test
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/integration/indirector/certificate_revocation_list/rest.rb5
1 files changed, 4 insertions, 1 deletions
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