diff options
author | Daniel Jakob <wolverine@usox.org> | 2014-06-28 12:02:52 +0200 |
---|---|---|
committer | Daniel Jakob <wolverine@usox.org> | 2014-06-28 12:02:52 +0200 |
commit | 90796d31dd9ab7e4f183f99d0fe7237a7f42ddfc (patch) | |
tree | 2ef837a0bc4ad369ae2d7026ab43e98fe922d065 /spec | |
parent | 85df9f966b9b0135723c5af72cedf4049d6996b9 (diff) |
Add some simple gentoo specific tests
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 |