From: Ken Barber Date: Mon, 8 Aug 2011 12:07:58 +0000 (+0200) Subject: Fix iptables option ordering issues (thanks to Adrian Bridgett) X-Git-Tag: v0.0.1~18 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a6a0adc7b6109e7d9f931ffbc0bb951396138868;p=puppet-modules%2Fpuppetlabs-firewall.git Fix iptables option ordering issues (thanks to Adrian Bridgett) --- diff --git a/lib/puppet/provider/firewall/iptables.rb b/lib/puppet/provider/firewall/iptables.rb index 9947b2d..ebcee19 100644 --- a/lib/puppet/provider/firewall/iptables.rb +++ b/lib/puppet/provider/firewall/iptables.rb @@ -46,9 +46,8 @@ Puppet::Type.type(:firewall).provide :iptables, :parent => Puppet::Provider::Fir } @@resource_list = [:table, :source, :destination, :iniface, :outiface, - :proto, :sport, :dport, :reject, :log_level, :log_prefix, :name, :state, - :icmp, :limit, :burst, :toports, :jump, :todest, :tosource] - + :proto, :sport, :dport, :name, :state, :icmp, :limit, :burst, :jump, + :todest, :tosource, :toports, :log_level, :log_prefix, :reject] def insert debug 'Inserting rule %s' % resource[:name]