From: David Swan Date: Mon, 28 Jan 2019 15:20:53 +0000 (+0000) Subject: (FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module X-Git-Tag: 1.15.1~5^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f7e8721917f50a6a780ea77397752f3f1b973eb8;p=puppet-modules%2Fpuppetlabs-firewall.git (FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module --- 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