]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(MODULES-2119) further tweaking to that logic
authorAlex Harvey <alexharv074@gmail.com>
Sat, 12 Jan 2019 08:03:50 +0000 (19:03 +1100)
committerAlex Harvey <alexharv074@gmail.com>
Sat, 12 Jan 2019 08:03:50 +0000 (19:03 +1100)
commitd82777b766447c806803c0e61d78399ea52a5d9c
tree1f6b5820f48ebd5b2ff6a22294ab19e152fdd3fd
parentfc927aba56ee0423725be35563f03b667bb22dd2
(MODULES-2119) further tweaking to that logic

A fix for Bugzilla #1015 was added in
680738164865a01f554d1e1037c8d8724e39a720. However, it appears that the
bug description at https://bugzilla.netfilter.org/show_bug.cgi?id=1015
is not quite accurate, and the -p all hack is required sometimes, but
not always. I don't know exactly when it is or isn't required.

This patch changes the logic to try both.
lib/puppet/provider/firewall/iptables.rb
spec/unit/puppet/provider/iptables_spec.rb