]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Fix test failures
[chef.git] / 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