From 792a9fd3f74799d8e6409ed9e583da45317a622f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 25 Sep 2020 08:24:21 +0100 Subject: [PATCH 1/1] Ignore failures starting shorewall --- cookbooks/networking/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 253ca8f9a..eba2208f5 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -447,6 +447,7 @@ if node[:networking][:firewall][:enabled] action [:enable, :start] supports :restart => true status_command "shorewall status" + ignore_failure true end else service "shorewall" do @@ -589,6 +590,7 @@ unless node.interfaces(:family => :inet6).empty? action [:enable, :start] supports :restart => true status_command "shorewall6 status" + ignore_failure true end else service "shorewall6" do -- 2.43.2