]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module
authorDavid Swan <david.swan@puppet.com>
Mon, 28 Jan 2019 15:20:53 +0000 (15:20 +0000)
committerDavid Swan <david.swan@puppet.com>
Mon, 28 Jan 2019 15:20:53 +0000 (15:20 +0000)
spec/unit/classes/firewall_linux_gentoo_spec.rb [deleted file]

diff --git a/spec/unit/classes/firewall_linux_gentoo_spec.rb b/spec/unit/classes/firewall_linux_gentoo_spec.rb
deleted file mode 100644 (file)
index 629dced..0000000
+++ /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