start moving mx for www-master to mailhosts
[mirror/dsa-puppet.git] / modules / exim / templates / manualroute.erb
index 7b6813f..4dec93c 100644 (file)
@@ -8,13 +8,14 @@
 ## buildd.debian.org: grieg.debian.org::587 byname
 
 <%=
-mxmatches = [ fqdn ]
+mxmatches = [ scope.lookupvar('::fqdn') ]
 routes = []
 extraroutes = []
 
 if scope.lookupvar('site::nodeinfo')['mailrelay']
   mxmatches << 'mailout.debian.org'
   extraroutes = [ "keyring.debian.org:\t\tkaufmann.debian.org" ]
+  extraroutes << "www-master.debian.org:\t\twolkenstein.debian.org"
 end
 
 mxregex = Regexp.new('^\d+\s+(.*)\.$')