X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98cc5f14caf136d786fea344a4742735ca192da2..069e33163e0b09a7d647a98c2fde284a16a43b99:/cookbooks/exim/recipes/default.rb diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 9c687a3c9..da8ba5c9c 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -61,14 +61,14 @@ end relay_to_domains = node[:exim][:relay_to_domains] node[:exim][:routes].each_value do |route| - relay_to_domains = relay_to_domains | route[:domains] if route[:host] + relay_to_domains |= route[:domains] if route[:host] end relay_from_hosts = node[:exim][:relay_from_hosts] if node[:exim][:smarthost_name] search(:node, "exim_smarthost_via:#{node[:exim][:smarthost_name]}\\:*").each do |host| - relay_from_hosts = relay_from_hosts | host.ipaddresses(:role => :external) + relay_from_hosts |= host.ipaddresses(:role => :external) end end