From 0c5a97135908a0b4bb755d57773b42d70586f03f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 24 Sep 2020 18:46:59 +0100 Subject: [PATCH] Ignore failures disabling 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 9281aa391..253ca8f9a 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -453,6 +453,7 @@ else action [:disable, :stop] supports :restart => true status_command "shorewall status" + ignore_failure true end end @@ -594,6 +595,7 @@ unless node.interfaces(:family => :inet6).empty? action [:disable, :stop] supports :restart => true status_command "shorewall6 status" + ignore_failure true end end -- 2.43.2