diff options
-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 |