HI Chris,
Awesome, +1 :)
KW
On Friday, 16 March 2012 22:09:34 UTC, Chris O'Donnell wrote:
>
> FYI, I downloaded the following branch this morning:
>
> git clone -b ticket/10162-firewallchain_support_for_merge git://
> github.com/kbarber/puppetlabs-firewall.git
>
> and found a bug where the args for iptables were being fed to it in the
> wrong order. I made the following patch, and emailed it to Ken:
>
> --- iptables_chain.rb.orig 2012-03-16 17:14:29.000000000 -0400
> +++ iptables_chain.rb 2012-03-16 16:31:40.000000000 -0400
> @@ -73,7 +73,7 @@
>
> def policy=(value)
> return if value == :empty
> - allvalidchains do |t, table, chain|
> + allvalidchains do |t, chain, table|
> p = ['-t',table,'-P',chain,value.to_s.upcase]
> debug "[set policy] #{t} #{p}"
> t.call p
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/Ke1j5IhgztcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.