From: Jan Gantzert Date: Sat, 18 Mar 2017 10:16:14 +0000 (+0100) Subject: MODULES-4279 use complete option for geoip X-Git-Tag: 1.9.0~9^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e7d0b75620c9fb691a00162f5c6e4295ee7706cd;p=puppet-modules%2Fpuppetlabs-firewall.git MODULES-4279 use complete option for geoip --- diff --git a/lib/puppet/provider/firewall/ip6tables.rb b/lib/puppet/provider/firewall/ip6tables.rb index edcb8e3..c6757c2 100644 --- a/lib/puppet/provider/firewall/ip6tables.rb +++ b/lib/puppet/provider/firewall/ip6tables.rb @@ -155,8 +155,8 @@ Puppet::Type.type(:firewall).provide :ip6tables, :parent => :iptables, :source = :week_days => "--weekdays", :time_contiguous => "--contiguous", :kernel_timezone => "--kerneltz", - :src_cc => "--src-cc", - :dst_cc => "--dst-cc", + :src_cc => "--source-country", + :dst_cc => "--destination-country", } # These are known booleans that do not take a value, but we want to munge diff --git a/lib/puppet/provider/firewall/iptables.rb b/lib/puppet/provider/firewall/iptables.rb index 5b2c3e5..eaf9d02 100644 --- a/lib/puppet/provider/firewall/iptables.rb +++ b/lib/puppet/provider/firewall/iptables.rb @@ -148,8 +148,8 @@ Puppet::Type.type(:firewall).provide :iptables, :parent => Puppet::Provider::Fir :clusterip_total_nodes => "--total-nodes", :clusterip_local_node => "--local-node", :clusterip_hash_init => "--hash-init", - :src_cc => "--src-cc", - :dst_cc => "--dst-cc", + :src_cc => "--source-country", + :dst_cc => "--destination-country", } # These are known booleans that do not take a value, but we want to munge