summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorRein Henrichs <rein@puppetlabs.com>2010-05-20 14:41:22 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitc00285c395647bc19237ec6c60099d11997592bb (patch)
treee30bcff922d76c087774a9ba47629940091b2543 /spec/integration
parent1d49defe9b2a5f7725d74d2d73880ed342399d83 (diff)
downloadpuppet-c00285c395647bc19237ec6c60099d11997592bb.tar.gz
puppet-c00285c395647bc19237ec6c60099d11997592bb.tar.xz
puppet-c00285c395647bc19237ec6c60099d11997592bb.zip
[#3810] Add http reports processor and `reporturl` setting
Example puppet.conf: [puppetmasterd] reports = store, http reporturl = http://localhost:3000/reports * Group reporturl and reportdir in new reports section of Puppet::Settings * Add specs for both
Diffstat (limited to 'spec/integration')
-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 bae281d72..db8686fe6 100755
--- a/spec/integration/defaults.rb
+++ b/spec/integration/defaults.rb
@@ -244,4 +244,14 @@ describe "Puppet defaults" do
it "should have an http_compression setting that defaults to false" do
Puppet.settings[:http_compression].should be_false
end
+
+ describe "reportdir" do
+ subject { Puppet.settings[:reportdir] }
+ it { should == "#{Puppet[:vardir]}/reports" }
+ end
+
+ describe "reporturl" do
+ subject { Puppet.settings[:reporturl] }
+ it { should == "http://localhost:3000/reports" }
+ end
end