]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/exim/templates/manualroute.erb
Revert "We use "keyinfo" in all kinda of places. Rename it to something more generic"
[dsa-puppet.git] / modules / exim / templates / manualroute.erb
index 07ddf55147d0b62c1c027f79753cef0a92d3df86..2b84b4ede1d4545636d64d513014aba7c901d020 100644 (file)
@@ -19,8 +19,8 @@ when 'spohr.debian.org', 'draghi.debian.org', 'merikanto.debian.org' then
 end
 
 mxregex = Regexp.new('^\d+\s+(.*)\.$')
-ldapall.keys.sort.each do |host|
-  ldapall[host]['mXRecord'].each do |mx|
+mxinfo.keys.sort.each do |host|
+  mxinfo[host]['mXRecord'].each do |mx|
     mxmatch = mxregex.match(mx)
     if mxmatches.include?(mxmatch[1])
       route = host + ":\t\t" + host