:operatingsystemrelease => osrel,
:osfamily => 'RedHat',
:selinux => false,
+ :puppetversion => Puppet.version,
}}
it { should_not contain_service('firewalld') }
:operatingsystemrelease => osrel,
:osfamily => 'RedHat',
:selinux => false,
+ :puppetversion => Puppet.version,
}}
it { should contain_service('firewalld').with(
:operatingsystemrelease => osrel,
:osfamily => 'RedHat',
:selinux => false,
+ :puppetversion => Puppet.version,
}}
it { should contain_class('firewall::linux::redhat').with_require('Package[iptables]') }
it { should contain_package('iptables').with_ensure('present') }
:operatingsystemrelease => osrel,
:osfamily => 'Debian',
:selinux => false,
+ :puppetversion => Puppet.version,
}}
it { should contain_class('firewall::linux::debian').with_require('Package[iptables]') }