summaryrefslogtreecommitdiffstats
path: root/spec/integration/defaults.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/defaults.rb')
-rwxr-xr-xspec/integration/defaults.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb
index 35ac3b12b..c38a1a14b 100755
--- a/spec/integration/defaults.rb
+++ b/spec/integration/defaults.rb
@@ -55,6 +55,16 @@ describe "Puppet defaults" do
Puppet.settings.setting(:rundir).group.should be_nil
end
+ it "should specify that the host private key should be owned by the service user" do
+ Puppet.settings.stubs(:service_user_available?).returns true
+ Puppet.settings.setting(:hostprivkey).owner.should == Puppet.settings[:user]
+ end
+
+ it "should specify that the host certificate should be owned by the service user" do
+ Puppet.settings.stubs(:service_user_available?).returns true
+ Puppet.settings.setting(:hostcert).owner.should == Puppet.settings[:user]
+ end
+
it "should use a bind address of ''" do
Puppet.settings[:bindaddress].should == ""
end