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:
d4b801b
)
On hosts that get mail via mailrelays, try to collect the ferm rule that will allow...
author
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 22:21:05 +0000
(
00:21
+0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 22:21:05 +0000
(
00:21
+0200)
modules/roles/manifests/mta.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/mta.pp
b/modules/roles/manifests/mta.pp
index
e85c444
..
b985cd0
100644
(file)
--- a/
modules/roles/manifests/mta.pp
+++ b/
modules/roles/manifests/mta.pp
@@
-31,6
+31,10
@@
class roles::mta(
default => "${::fqdn}: ${::fqdn}::${mailport}",
}
}
+
+ Ferm::Rule::Simple <<| tag == 'smtp::server::from::mailrelay' |>> {
+ port => $mailport
+ }
}
}
} elsif $type == 'postfix' {