From: Morgan Haskel Date: Thu, 30 Oct 2014 22:12:42 +0000 (-0700) Subject: ip6tables isn't supported on EL5 X-Git-Tag: 1.2.0~1^2~1^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=20aeaff87a81f87de57581852d50ea3717f6a3f5;p=puppet-modules%2Fpuppetlabs-firewall.git ip6tables isn't supported on EL5 No need to test ip6tables purging on EL5 since the ip6tables provider isn't supported. --- diff --git a/spec/acceptance/purge_spec.rb b/spec/acceptance/purge_spec.rb index 6a9d9a8..73582b8 100644 --- a/spec/acceptance/purge_spec.rb +++ b/spec/acceptance/purge_spec.rb @@ -130,7 +130,7 @@ describe "purge tests:", :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamil expect(shell('iptables-save').stdout).to match(/-A INPUT -s 1\.2\.1\.1(\/32)? -p tcp\s?\n-A INPUT -s 1\.2\.1\.1(\/32)? -p udp/) end end - context('ipv6 chain purge') do + context 'ipv6 chain purge', :unless => (fact('osfamily') == 'RedHat' and fact('operatingsystemmajrelease') == '5') do after(:all) do ip6tables_flush_all_tables end