admin should be able to see pet as well
[mirror/dsa-puppet.git] / modules / exim / templates / manualroute.erb
index 21a194e..899f1d9 100644 (file)
@@ -8,11 +8,11 @@
 ## buildd.debian.org: grieg.debian.org::587 byname
 
 <%=
-mxmatches = [ scope.lookupvar('::fqdn') ]
+mxmatches = [ @fqdn ]
 routes = []
 extraroutes = []
 
-if scope.function_has_role('mailrelay')
+if scope.function_has_role(['mailrelay'])
   mxmatches << 'mailout.debian.org'
   mxmatches << 'INCOMING-MX'
   extraroutes = [ "keyring.debian.org:\t\tkaufmann.debian.org" ]