X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c9bfd42b3dc9e0792ede30b1fd5a869f25e1b235..40836bb2a0d4d9462d746c78d5084e1c9379bae9:/cookbooks/exim/templates/default/exim4.conf.erb diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 7e89a1e93..0a4f1d04f 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -732,6 +732,9 @@ noreply: command = <%= details[:command] %> home_directory = <%= details[:home_directory] %> path = <%= details[:path] || "/bin:/usr/bin" %> +<% if details[:environment] -%> + environment = <%= details[:environment].map { |k,v| "#{k}=#{v}" }.join(":") %> +<% end -%> return_fail_output <% else -%> driver = appendfile