diff options
author | duritong <peter.meier+github@immerda.ch> | 2014-08-08 15:03:24 +0200 |
---|---|---|
committer | duritong <peter.meier+github@immerda.ch> | 2014-08-08 15:03:24 +0200 |
commit | 8bdbe524904ce078c0c76e69fab7bf437ceeca18 (patch) | |
tree | 2ef837a0bc4ad369ae2d7026ab43e98fe922d065 /spec | |
parent | a12b6eaba350620fa1ad4cdcd4bd639a252a0f0e (diff) | |
parent | 90796d31dd9ab7e4f183f99d0fe7237a7f42ddfc (diff) |
Merge pull request #40 from usox/master
Fix gentoo support
Diffstat (limited to 'spec')
-rw-r--r-- | spec/classes/munin_host_spec.rb | 10 |
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 |