From bbb9cb4d1aa7a07150471bc26c05f2a5558b6230 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 4 Mar 2023 11:53:34 +0000 Subject: [PATCH] Don't bother disabling shorewall before we remove it --- cookbooks/networking/recipes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 12f72aa9f..8101a9b89 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -653,7 +653,7 @@ if node[:networking][:firewall][:engine] == "shorewall" end elsif node[:networking][:firewall][:engine] == "nftables" service "shorewall6" do - action [:disable, :stop] + action :stop end package "shorewall6" do @@ -661,7 +661,7 @@ elsif node[:networking][:firewall][:engine] == "nftables" end service "shorewall" do - action [:disable, :stop] + action :stop end systemd_service "shorewall-docker" do -- 2.39.5