example42 / puppet-iptables

Iptables Puppet Module (for host based firewalling)
http://www.example42.com
Other
14 stars 41 forks source link

firewall module broken with last commit #22

Closed dodwmd closed 11 years ago

dodwmd commented 11 years ago

Hi,

Custom rules has broken the module. scope.lookupvar('rule') always returns so you end up with:

-A INPUT -j ACCEPT

As your rules. Removing the last edit to rule.erb fixed this for me (don't use v6).

alvagante commented 11 years ago

This commit 872deb66f4583854c0b4498f171d05ffc616deb3 should fix, please let me know.