From: Peter Palfrader Date: Sat, 21 Sep 2019 16:23:07 +0000 (+0200) Subject: And fix the smarthost template somewhat X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=31764b14144e2b5ddce108a1548438d227eac3a4 And fix the smarthost template somewhat --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index c8be35121..83a630fa2 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -1584,7 +1584,7 @@ remote_smtp_smarthost: delay_after_cutoff = false port = <%= @marthost_port -%> tls_tempfail_tryclear = false - hosts_require_tls = ' + scope.lookupvar('deprecated::nodeinfo')['smarthost'] + ' + hosts_require_tls = <%= scope.lookupvar('deprecated::nodeinfo')['smarthost'] -%> tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key <%- end -%>