X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4c6e8e92840d11790c2d308330b928eadf308343..a0a7f905806cea4a97b2121adfee1beb995a1d61:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 9281aa391..eba2208f5 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -447,12 +447,14 @@ if node[:networking][:firewall][:enabled] action [:enable, :start] supports :restart => true status_command "shorewall status" + ignore_failure true end else service "shorewall" do action [:disable, :stop] supports :restart => true status_command "shorewall status" + ignore_failure true end end @@ -588,12 +590,14 @@ unless node.interfaces(:family => :inet6).empty? action [:enable, :start] supports :restart => true status_command "shorewall6 status" + ignore_failure true end else service "shorewall6" do action [:disable, :stop] supports :restart => true status_command "shorewall6 status" + ignore_failure true end end