]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
Add shorewall stoppedrules support
[chef.git] / cookbooks / networking / recipes / default.rb
index 41daefe7eacc378af9bf812c82063a7221b0796e..c76d47e3e120bf91b4478b5f7e8d909dfeddf012 100644 (file)
@@ -443,6 +443,14 @@ template "/etc/shorewall/rules" do
   notifies :restart, "service[shorewall]"
 end
 
+template "/etc/shorewall/stoppedrules" do
+  source "shorewall-stoppedrules.erb"
+  owner "root"
+  group "root"
+  mode "644"
+  notifies :restart, "service[shorewall]"
+end
+
 if node[:networking][:firewall][:enabled]
   service "shorewall" do
     action [:enable, :start]