]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
start moving mx for www-master to mailhosts
authorStephen Gran <steve@lobefin.net>
Tue, 17 Apr 2012 07:58:20 +0000 (08:58 +0100)
committerStephen Gran <steve@lobefin.net>
Tue, 17 Apr 2012 07:58:20 +0000 (08:58 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/manualroute.erb
modules/exim/templates/virtualdomains.erb

index 7b6813f2482c2e9b075197ced7750a3f199b2dcd..4dec93c2ed180d78b61c5e83f5d38f97bae17ee5 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+(.*)\.$')
index 7f27b7bd6722cf346789e4d1d0ab069558a79678..eae5b6df7d96c78c59994306d07ec18c12bfb68a 100644 (file)
@@ -17,7 +17,7 @@
 #    Finally the email will bounce.
 
 <%=
-vdoms = case fqdn
+vdoms = case scope.lookupvar('::fqdn')
 
         when "bellini.debian.org" then "popcon.debian.org: user=popcon group=popcon directory=/org/popcon.debian.org/mail/"