]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(#14590) Fix for when iptables-save spews out "FATAL" errors.
authorSharif Nassar <sharif@mrwacky.com>
Sat, 21 Jan 2012 01:22:16 +0000 (17:22 -0800)
committerKen Barber <ken@bob.sh>
Sun, 20 May 2012 17:19:15 +0000 (18:19 +0100)
commit120a15ef71cb7bd66901ad5322d9074c575b5170
treeb5e5baff1c6b96ff3a6837e8926853e6a6457910
parent4fd37c283a6033bd7caea32066fb1249c17c37a0
(#14590) Fix for when iptables-save spews out "FATAL" errors.

On some broken Virtuozzo containers, /lib/modules/$(uname -r)/modules.dep is
absent. This causes iptables-save to give some "FATAL" errors.  This patch
fixes the parser to ignore them instead of generating garbage rules that make
for errors in the puppet agent run.
lib/puppet/provider/firewall/iptables.rb
spec/unit/puppet/provider/iptables_spec.rb