diff options
author | Luke Kanies <luke@madstop.com> | 2008-08-07 17:44:45 -0700 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-08-07 17:44:45 -0700 |
commit | cd314fa0531b0d71017e22b9db4cec2fc21c7e7c (patch) | |
tree | ec5ce43798f4cab095ee395b884867cad475ae09 | |
parent | 113d74aaa630f499c8b7989aac6680e22e8e38c8 (diff) | |
download | puppet-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-x | spec/integration/indirector/certificate_revocation_list/rest.rb | 5 |
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 |