diff options
author | Tim Meusel <tim@bastelfreak.de> | 2021-02-09 12:18:46 +0100 |
---|---|---|
committer | Tim Meusel <tim@bastelfreak.de> | 2021-02-09 12:20:41 +0100 |
commit | 26421b720ed8bf1c9588587764fba938130b3879 (patch) | |
tree | 069be3a97157c992b06b8d10247335490b9c92ce /spec/classes | |
parent | 067d9f98ad2a88eacc7401cbd3fc3a6fb446de5b (diff) | |
download | puppet-ferm-26421b720ed8bf1c9588587764fba938130b3879.tar.gz puppet-ferm-26421b720ed8bf1c9588587764fba938130b3879.tar.bz2 |
drop unneeded manage_initfile param
Diffstat (limited to 'spec/classes')
-rw-r--r-- | spec/classes/ferm_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/classes/ferm_spec.rb b/spec/classes/ferm_spec.rb index d400a7b..b134368 100644 --- a/spec/classes/ferm_spec.rb +++ b/spec/classes/ferm_spec.rb @@ -80,17 +80,7 @@ describe 'ferm' do it { is_expected.to contain_concat__fragment('mangle-OUTPUT-config-include') } it { is_expected.to contain_concat__fragment('mangle-POSTROUTING-config-include') } end - context 'with managed initfile' do - let :params do - { manage_initfile: true } - end - if facts[:os]['family'] == 'RedHat' && facts[:os]['release']['major'].to_i <= 6 - it { is_expected.to contain_file('/etc/init.d/ferm') } - else - it { is_expected.not_to contain_file('/etc/init.d/ferm') } - end - end context 'it creates chains' do it { is_expected.to contain_concat__fragment('raw-PREROUTING-policy') } it { is_expected.to contain_concat__fragment('raw-OUTPUT-policy') } |