]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(maint) Remove nat flush
authorHunter Haugen <hunter@puppet.com>
Mon, 25 Apr 2016 17:49:35 +0000 (10:49 -0700)
committerHunter Haugen <hunter@puppet.com>
Mon, 25 Apr 2016 17:49:35 +0000 (10:49 -0700)
The man page says it's not implemented for ip6tables

spec/spec_helper_acceptance.rb

index 78c09e9fdcac39ad4359f3908298043a19d18b05..bc0506f74923233b9572926c2c72284625a02056 100644 (file)
@@ -8,7 +8,7 @@ def iptables_flush_all_tables
 end
 
 def ip6tables_flush_all_tables
-  ['filter', 'nat', 'mangle'].each do |t|
+  ['filter', 'mangle'].each do |t|
     expect(shell("ip6tables -t #{t} -F").stderr).to eq("")
   end
 end