]> git.openstreetmap.org Git - chef.git/commitdiff
Fix test failures
authorTom Hughes <tom@compton.nu>
Tue, 7 Mar 2023 21:25:18 +0000 (21:25 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 7 Mar 2023 21:25:18 +0000 (21:25 +0000)
cookbooks/exim/recipes/default.rb

index 1a82a22733cbfd2c5425e99d920e958dd45d9416..dbf90bdfb4554397df2cb54b0295214089da10d8 100644 (file)
@@ -257,6 +257,7 @@ else
       proto "tcp"
       dest_ports port
       source_ports "1024-65535"
+      not_if { smarthosts_inet.empty? }
     end
 
     firewall_rule "accept-inbound-smtp-#{port}" do
@@ -267,6 +268,7 @@ else
       proto "tcp"
       dest_ports port
       source_ports "1024-65535"
+      not_if { smarthosts_inet6.empty? }
     end
   end
 end