projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have name copied to longname if there is no longname
[mirror/dsa-puppet.git]
/
modules
/
exim
/
templates
/
manualroute.erb
diff --git
a/modules/exim/templates/manualroute.erb
b/modules/exim/templates/manualroute.erb
index
3e51534
..
40062d8
100644
(file)
--- a/
modules/exim/templates/manualroute.erb
+++ b/
modules/exim/templates/manualroute.erb
@@
-19,7
+19,7
@@
end
mxregex = Regexp.new('^\d+\s+(.*)\.$')
allnodeinfo.keys.sort.each do |host|
mxregex = Regexp.new('^\d+\s+(.*)\.$')
allnodeinfo.keys.sort.each do |host|
- next unless allnodeinfo[host['mXRecord']
+ next unless allnodeinfo[host
]
['mXRecord']
allnodeinfo[host]['mXRecord'].each do |mx|
mxmatch = mxregex.match(mx)
if mxmatches.include?(mxmatch[1])
allnodeinfo[host]['mXRecord'].each do |mx|
mxmatch = mxregex.match(mx)
if mxmatches.include?(mxmatch[1])