Try to make mail_port really optional
authorPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 18:33:25 +0000 (20:33 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 18:33:25 +0000 (20:33 +0200)
modules/exim/manifests/init.pp

index 5eb4923..2843925 100644 (file)
@@ -10,7 +10,6 @@
 # @param smarthost_port the port on which satellites send mail to the smarthost (needs to be the same on both sides)
 class exim (
   Optional[String] $smarthost,
-  Optional[Integer] $mail_port,
   Boolean $use_smarthost = true,
   Boolean $is_bugsmx = false,
   Boolean $is_mailrelay = false,
@@ -18,6 +17,7 @@ class exim (
   Boolean $is_packagesmaster = false,
   Boolean $is_packagesqamaster = false,
   Integer $smarthost_port = 587,
+  Optional[Integer] $mail_port = undef,
 ) {
   include exim::vdomain::setup
   include debian_org::mail_incoming_port