]> git.openstreetmap.org Git - chef.git/commitdiff
Don't bother disabling shorewall before we remove it
authorTom Hughes <tom@compton.nu>
Sat, 4 Mar 2023 11:53:34 +0000 (11:53 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 4 Mar 2023 11:53:34 +0000 (11:53 +0000)
cookbooks/networking/recipes/default.rb

index 12f72aa9f3325718f0b9d55ea9c959834b8dda50..8101a9b89141757902c86ef4d838722abfb8fd11 100644 (file)
@@ -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