Partially migrate the mailrelay role. ferm still needs the old style.
[mirror/dsa-puppet.git] / modules / exim / templates / manualroute.erb
index c7ce96c..8a07033 100644 (file)
@@ -12,7 +12,7 @@ mxmatches = [ @fqdn ]
 routes = []
 extraroutes = []
 
-if scope.function_has_role(['mailrelay'])
+if @is_mailrelay
   mxmatches << 'mailout.debian.org'
   mxmatches << 'INCOMING-MX'
   extraroutes = [ ]