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:
860adcc
)
mxRecord is actually an array called mXRecord
author
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 22:07:20 +0000
(
00:07
+0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 22:07:20 +0000
(
00:07
+0200)
modules/roles/manifests/mta.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/mta.pp
b/modules/roles/manifests/mta.pp
index
4e672d7
..
486f3e9
100644
(file)
--- a/
modules/roles/manifests/mta.pp
+++ b/
modules/roles/manifests/mta.pp
@@
-16,8
+16,8
@@
class roles::mta(
} else {
include exim
- $mxdata = dig($deprecated::nodeinfo, 'ldap', 'm
x
Record')
- if $mxdata and $mxdata
=~ /INCOMING-MX/
{
+ $mxdata = dig($deprecated::nodeinfo, 'ldap', 'm
X
Record')
+ if $mxdata and $mxdata
.any |$item| { $item =~ /INCOMING-MX/ }
{
$mailport = lookup('exim::mail_port')
@@concat::fragment { "manualroute-to-${::fqdn}":