diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-07-21 11:38:51 -0700 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-07-21 20:10:10 -0700 |
| commit | fac867c7bdbfbd431b089eb1bfb6eb73230e912c (patch) | |
| tree | 857c2b3f38c97aa5871b026a52964acd72b9e9c1 /spec/integration | |
| parent | 93299e90e231bb407923e3534a0e33d841b95355 (diff) | |
Remove Util::Cacher usage from SSL::CertificateAuthority
Allowing the singleton_instance value to be expirable is unnecessary, because
there will never be a need for a different CA instance in the lifetime of a
master. Additionally, the master never expired its cache anyway. This was only
using the cacher so it could be expired for tests, so it can safely be removed.
Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'spec/integration')
| -rwxr-xr-x | spec/integration/ssl/certificate_authority_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/integration/ssl/certificate_authority_spec.rb b/spec/integration/ssl/certificate_authority_spec.rb index c6ff58ed0..68b2401fb 100755 --- a/spec/integration/ssl/certificate_authority_spec.rb +++ b/spec/integration/ssl/certificate_authority_spec.rb @@ -29,8 +29,6 @@ describe Puppet::SSL::CertificateAuthority, :fails_on_windows => true do system("rm -rf #{@dir}") Puppet.settings.clear - Puppet::Util::Cacher.expire - Puppet::SSL::CertificateAuthority.instance_variable_set("@instance", nil) } |
