summaryrefslogtreecommitdiff
path: root/spec/classes/munin_host_spec.rb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-09-13 05:16:18 +0200
committermh <mh@immerda.ch>2014-09-13 05:16:18 +0200
commitec4e2ba4f6f90116927ead35fca8c525a64a9e57 (patch)
treeceb5f922aa89f92666c4086e71febab6a122b980 /spec/classes/munin_host_spec.rb
parent39eb7ac31ad7f1fc16c37c42823fb1860c1f09ba (diff)
parentee32ce830d98b38f68293a648ca7dd83fde14422 (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'spec/classes/munin_host_spec.rb')
-rw-r--r--spec/classes/munin_host_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/classes/munin_host_spec.rb b/spec/classes/munin_host_spec.rb
index b707b5d..df002ce 100644
--- a/spec/classes/munin_host_spec.rb
+++ b/spec/classes/munin_host_spec.rb
@@ -34,4 +34,14 @@ describe 'munin::host' do
context 'on redhat-like system' do
it_behaves_like 'redhat-host', 'CentOS', '6'
end
+
+ context 'on Gentoo' do
+ let(:facts) {{
+ :osfamily => 'Gentoo',
+ :concat_basedir => '/var/lib/puppet/concat',
+ }}
+ it { should contain_package('munin') }
+ it { should contain_file('/etc/munin/munin.conf') }
+ it { should contain_class('munin::host') }
+ end
end