chr4-cookbooks / iptables-ng

Cookbook to maintain iptables rules and policies on different platforms, respecting the way the os handles these settings.
GNU General Public License v3.0
38 stars 33 forks source link

Update default rule processing for ruby 1.8 #16

Closed jmoses closed 10 years ago

jmoses commented 10 years ago

In Ruby 1.8, Hash#select returns an array of [key, value] pairs, in Ruby 1.9+ it returns a Hash.

Rework of #15 on top of ruby-1.8-compat, again specifically to support AWS OpsWorks (re: #9)

chr4 commented 10 years ago

Thanks for the pull request!