From 8c9b04d807b34ade704da3584b72d39bb129aa75 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 28 Apr 2008 17:52:02 -0500 Subject: 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. --- lib/puppet/ssl/certificate_authority.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/puppet/ssl') 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 -- cgit