diff options
| author | Luke Kanies <luke@madstop.com> | 2008-05-05 17:10:07 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-05-05 17:10:07 -0500 |
| commit | 67dc268fae0489de93f247b08fdaf7b1eec0e15d (patch) | |
| tree | 727206889dcccab3d9d3292726e87a663ae539f9 /spec/integration/ssl | |
| parent | 6356c043a44c771d707750f96f7660a1093be9ac (diff) | |
| download | puppet-67dc268fae0489de93f247b08fdaf7b1eec0e15d.tar.gz puppet-67dc268fae0489de93f247b08fdaf7b1eec0e15d.tar.xz puppet-67dc268fae0489de93f247b08fdaf7b1eec0e15d.zip | |
The CA now initializes itself.
I realized that it never made sense to have a CA
that didn't know how to initialize itself, so we
now have a singleton method for the CA, and it also
automatically initializes itself.
Diffstat (limited to 'spec/integration/ssl')
| -rwxr-xr-x | spec/integration/ssl/certificate_authority.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/integration/ssl/certificate_authority.rb b/spec/integration/ssl/certificate_authority.rb index f7eb0f46a..447dabe43 100755 --- a/spec/integration/ssl/certificate_authority.rb +++ b/spec/integration/ssl/certificate_authority.rb @@ -32,6 +32,8 @@ describe Puppet::SSL::CertificateAuthority do Puppet::SSL::Key.indirection.clear_cache Puppet::SSL::Certificate.indirection.clear_cache Puppet::SSL::CertificateRequest.indirection.clear_cache + + Puppet::SSL::CertificateAuthority.instance_variable_set("@instance", nil) } it "should create a CA host" do |
