]> git.openstreetmap.org Git - chef.git/commitdiff
Ignore failures starting shorewall
authorTom Hughes <tom@compton.nu>
Fri, 25 Sep 2020 07:24:21 +0000 (08:24 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 25 Sep 2020 07:24:21 +0000 (08:24 +0100)
cookbooks/networking/recipes/default.rb

index 253ca8f9afa0edb0518e51e664ae6cbe5f10149d..eba2208f5cf4f631ccd59fd13eada9b9ca9f55fb 100644 (file)
@@ -447,6 +447,7 @@ if node[:networking][:firewall][:enabled]
     action [:enable, :start]
     supports :restart => true
     status_command "shorewall status"
     action [:enable, :start]
     supports :restart => true
     status_command "shorewall status"
+    ignore_failure true
   end
 else
   service "shorewall" do
   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"
       action [:enable, :start]
       supports :restart => true
       status_command "shorewall6 status"
+      ignore_failure true
     end
   else
     service "shorewall6" do
     end
   else
     service "shorewall6" do