From 208e196386d2de86fabbfdf2c305cb78290996d8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 21 Sep 2019 21:12:37 +0200 Subject: [PATCH] pass is_mailrelay through exim::mx --- modules/exim/manifests/mx.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/exim/manifests/mx.pp b/modules/exim/manifests/mx.pp index a13da667d..20ba1a36b 100644 --- a/modules/exim/manifests/mx.pp +++ b/modules/exim/manifests/mx.pp @@ -1,7 +1,11 @@ # our heavy exim class -class exim::mx { +# @param is_mailrelay this system is a mailrelay, both in and out, for debian hosts +class exim::mx( + Boolean $is_mailrelay = false, +){ class { 'exim': use_smarthost => false, + is_mailrelay => $is_mailrelay, } include clamav -- 2.20.1