From ba12d3000d31dbccb3b60320eae6c1be302e0bd5 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 3 Jul 2008 17:27:11 -0500 Subject: Fixed #1232 - the rundir no longer specifies a user/group, and there are now client- and server-specific yaml directories. Signed-off-by: Luke Kanies --- spec/integration/defaults.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'spec/integration') diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb index a07743679..c506700c8 100755 --- a/spec/integration/defaults.rb +++ b/spec/integration/defaults.rb @@ -20,4 +20,24 @@ describe "Puppet defaults" do lambda { Puppet.settings[:certname] = "Host.Domain.Com" }.should raise_error(ArgumentError) end end + + it "should have a clientyamldir setting" do + Puppet.settings[:clientyamldir].should_not be_nil + end + + it "should have different values for the yamldir and clientyamldir" do + Puppet.settings[:yamldir].should_not == Puppet.settings[:clientyamldir] + end + + # See #1232 + it "should not specify a user or group for the clientyamldir" do + Puppet.settings.element(:clientyamldir).owner.should be_nil + Puppet.settings.element(:clientyamldir).group.should be_nil + end + + # See #1232 + it "should not specify a user or group for the rundir" do + Puppet.settings.element(:rundir).owner.should be_nil + Puppet.settings.element(:rundir).group.should be_nil + end end -- cgit