From f7e8721917f50a6a780ea77397752f3f1b973eb8 Mon Sep 17 00:00:00 2001 From: David Swan Date: Mon, 28 Jan 2019 15:20:53 +0000 Subject: [PATCH] (FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module --- .../classes/firewall_linux_gentoo_spec.rb | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 spec/unit/classes/firewall_linux_gentoo_spec.rb diff --git a/spec/unit/classes/firewall_linux_gentoo_spec.rb b/spec/unit/classes/firewall_linux_gentoo_spec.rb deleted file mode 100644 index 629dced..0000000 --- a/spec/unit/classes/firewall_linux_gentoo_spec.rb +++ /dev/null @@ -1,58 +0,0 @@ -require 'spec_helper' - -describe 'firewall::linux::gentoo', type: :class do - let(:facts) do - { - osfamily: 'Gentoo', - operatingsystem: 'Gentoo', - } - end - - it { - is_expected.to contain_service('iptables').with( - ensure: 'running', - enable: 'true', - ) - } - it { - is_expected.to contain_service('ip6tables').with( - ensure: 'running', - enable: 'true', - ) - } - it { - is_expected.to contain_package('net-firewall/iptables').with( - ensure: 'present', - ) - } - - context 'with ensure => stopped' do - let(:params) { { ensure: 'stopped' } } - - it { - is_expected.to contain_service('iptables').with( - ensure: 'stopped', - ) - } - it { - is_expected.to contain_service('ip6tables').with( - ensure: 'stopped', - ) - } - end - - context 'with enable => false' do - let(:params) { { enable: 'false' } } - - it { - is_expected.to contain_service('iptables').with( - enable: 'false', - ) - } - it { - is_expected.to contain_service('ip6tables').with( - enable: 'false', - ) - } - end -end -- 2.45.2