projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74ea90
)
Now I cannot even get ruby syntax right
author
Peter Palfrader
<peter@palfrader.org>
Wed, 2 Mar 2011 12:05:54 +0000
(13:05 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 2 Mar 2011 12:05:54 +0000
(13:05 +0100)
modules/exim/templates/manualroute.erb
patch
|
blob
|
history
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|
- 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])