diff options
| author | Luke Kanies <luke@madstop.com> | 2008-04-28 17:52:02 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-04-28 17:52:02 -0500 |
| commit | 8c9b04d807b34ade704da3584b72d39bb129aa75 (patch) | |
| tree | c76828f38c7c8d28f4b533d556e809d0bf3c1437 /lib/puppet/ssl | |
| parent | 83519f4e59f68f867f8ddbe141ac8bd9a6238ae1 (diff) | |
| download | puppet-8c9b04d807b34ade704da3584b72d39bb129aa75.tar.gz puppet-8c9b04d807b34ade704da3584b72d39bb129aa75.tar.xz puppet-8c9b04d807b34ade704da3584b72d39bb129aa75.zip | |
I think I've now got the Webrick SSL support working.
Now I just need to get xmlrpc working alongside REST in
both mongrel and webrick.
Diffstat (limited to 'lib/puppet/ssl')
| -rw-r--r-- | lib/puppet/ssl/certificate_authority.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/ssl/certificate_authority.rb b/lib/puppet/ssl/certificate_authority.rb index 9b49c5420..42981424e 100644 --- a/lib/puppet/ssl/certificate_authority.rb +++ b/lib/puppet/ssl/certificate_authority.rb @@ -141,7 +141,7 @@ class Puppet::SSL::CertificateAuthority def crl unless defined?(@crl) # The crl is disabled. - if ["false", false].include?(Puppet[:cacrl]) + unless Puppet[:crl] @crl = nil return @crl end @@ -149,6 +149,7 @@ class Puppet::SSL::CertificateAuthority unless @crl = Puppet::SSL::CertificateRevocationList.find("whatever") @crl = Puppet::SSL::CertificateRevocationList.new("whatever") @crl.generate(host.certificate.content) + @crl.save end end @crl |
