diaspora/chef/cookbooks/common/recipes/iptables.rb
Michael Sofaer cf7b957b28 Open port 80
2010-11-06 12:12:33 -07:00

7 lines
183 B
Ruby

cookbook_file "/etc/sysconfig/iptables" do
source "iptables"
end
execute "restart iptables" do #TODO only do this if the file changes
command "/etc/init.d/iptables restart"
end