Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / postfix / templates / main.cf-header.erb
index 4bbeba4..6f6cbe5 100644 (file)
@@ -4,12 +4,12 @@ mydomain = debian.org
 compatibility_level = 2
 smtp_dns_support_level = dnssec
 
-<%- if scope.lookupvar('site::nodeinfo')['smarthost'].empty? -%>
+<%- if scope.lookupvar('deprecated::nodeinfo')['smarthost'].empty? -%>
 smtp_tls_security_level = dane
 <%- else -%>
 smtp_tls_security_level = dane-only
 # yes, do MX lookups on the relayhost, since those have TLSA records
-relayhost = <%= scope.lookupvar('site::nodeinfo')['smarthost'] %>:submission
+relayhost = <%= scope.lookupvar('deprecated::nodeinfo')['smarthost'] %>:submission
 <%- end -%>
 
 # tls stuff