]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
add -g flag handling in ip6tables.rb provider
authorChristopher E. Stith <cestith@users.noreply.github.com>
Wed, 24 Oct 2018 00:52:27 +0000 (19:52 -0500)
committerGitHub <noreply@github.com>
Wed, 24 Oct 2018 00:52:27 +0000 (19:52 -0500)
commit50b70b781af325b85e8c74e8b3549896348c0b5b
tree3b6c595fd2246519bf06a60d3da9979d6d4e6de3
parent6438892e039d099fe4a44cd38277f9bcfc76e499
add -g flag handling in ip6tables.rb provider

In lib/puppet/provider/firewall/ip6tables.rb there is no goto: entry for the -g flag in @resource_map which leads to errors for rules using that feature.

lib/puppet/type/firewall.rb already handles this flag. It's a one-line change to recognize it. The right rules then get into the chains in my testing.
lib/puppet/provider/firewall/ip6tables.rb