summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJohn A. Barbuto <jbarbuto@corp.sourceforge.com>2009-10-26 14:02:35 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-10-27 12:17:20 +1100
commitff3a7bc17b66b73f5cf155a2ffb62ccd85f9e9bc (patch)
tree25867986fbd53b50d4278750aa58a8c7221986d3 /spec
parent594c774dd466c85eae829eaba3898d02ae9538ca (diff)
downloadpuppet-ff3a7bc17b66b73f5cf155a2ffb62ccd85f9e9bc.tar.gz
puppet-ff3a7bc17b66b73f5cf155a2ffb62ccd85f9e9bc.tar.xz
puppet-ff3a7bc17b66b73f5cf155a2ffb62ccd85f9e9bc.zip
Re-fixed #2750 - Stop disabling the CRL or checking for a disabled CRL
This was deprecated in commit 1cfb0215 and was keeping puppetd from starting in listen mode. Signed-off-by: John A. Barbuto <jbarbuto@corp.sourceforge.com>
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/application/puppetd.rb8
-rwxr-xr-xspec/unit/ssl/certificate_revocation_list.rb12
2 files changed, 0 insertions, 20 deletions
diff --git a/spec/unit/application/puppetd.rb b/spec/unit/application/puppetd.rb
index 19dfaf3e0..e5a51675d 100755
--- a/spec/unit/application/puppetd.rb
+++ b/spec/unit/application/puppetd.rb
@@ -407,14 +407,6 @@ describe "puppetd" do
@puppetd.setup_listen
end
- it "should set :cacrl to nil if no cacrl file" do
- Puppet.expects(:[]).with(:cacrl).returns('cacrl')
- File.expects(:exist?).with('cacrl').returns(false)
- Puppet.expects(:[]=).with(:cacrl,nil)
-
- @puppetd.setup_listen
- end
-
it "should create a server to listen on at least the Runner handler" do
Puppet::Network::Server.expects(:new).with { |args| args[:xmlrpc_handlers] == [:Runner] }
diff --git a/spec/unit/ssl/certificate_revocation_list.rb b/spec/unit/ssl/certificate_revocation_list.rb
index eb25268e6..3d15db78b 100755
--- a/spec/unit/ssl/certificate_revocation_list.rb
+++ b/spec/unit/ssl/certificate_revocation_list.rb
@@ -46,18 +46,6 @@ describe Puppet::SSL::CertificateRevocationList do
end
end
- describe "when initializing" do
- it "should fail if :cacrl is set to false" do
- Puppet.settings.expects(:value).with(:cacrl).returns false
- lambda { @class.new("crl") }.should raise_error(Puppet::Error)
- end
-
- it "should fail if :cacrl is set to the string 'false'" do
- Puppet.settings.expects(:value).with(:cacrl).returns "false"
- lambda { @class.new("crl") }.should raise_error(Puppet::Error)
- end
- end
-
describe "when generating the crl" do
before do
@real_crl = mock 'crl'