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 32 forks source link

Fixes hash definitions for Ruby 1.8 #4

Closed hufman closed 11 years ago

hufman commented 11 years ago

Several of our old systems still use Ruby 1.8. This patch makes the cookbook run for me.

chr4 commented 11 years ago

@hufman, I'm gonna have to reject this one, as I do not want to revert back to ruby-1.8.

I can understand your point, I made a similar one here: https://github.com/customink-webops/hostsfile/pull/29 But I think in the end we need to leave the past behind :)

Ubuntu and Debian support 1.9 out of the box, for Centos/Redhat you may have to fall back to the Omnibus package Opscode provides.

I should probably add a note to the README that this cookbook requires at least ruby-1.9.