aboutsummaryrefslogtreecommitdiff
path: root/spec/classes/ferm_spec.rb
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2021-02-09 12:28:39 +0100
committerGitHub <noreply@github.com>2021-02-09 12:28:39 +0100
commite22b12852d840869edb75ba1fbf767af75ba1b6d (patch)
tree08f58a8f8badbea9f429401e76c1e3180c472656 /spec/classes/ferm_spec.rb
parentfb8ed26cdceb012c3395a8d897b98785b17f087f (diff)
parentc5c71bcb480d19387d761e760f3e6190c241f9eb (diff)
downloadpuppet-ferm-e22b12852d840869edb75ba1fbf767af75ba1b6d.tar.gz
puppet-ferm-e22b12852d840869edb75ba1fbf767af75ba1b6d.tar.bz2
Merge pull request #119 from voxpupuli/modulesync
modulesync 4.0.0
Diffstat (limited to 'spec/classes/ferm_spec.rb')
-rw-r--r--spec/classes/ferm_spec.rb10
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') }