From: Tom Hughes Date: Tue, 7 Mar 2023 21:25:18 +0000 (+0000) Subject: Fix test failures X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c2dc25574a90f18b88ec9040dd74315ef8e74893?hp=d3a2e51da96cc65a58e58e0ac21e92635473ef05 Fix test failures --- diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 1a82a2273..dbf90bdfb 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -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