Consider the empty string as no smarthost
authorPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 17:06:27 +0000 (19:06 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 21 Sep 2019 17:06:27 +0000 (19:06 +0200)
modules/exim/manifests/init.pp

index fd41732..83e56f3 100644 (file)
@@ -18,7 +18,7 @@ class exim (
   include exim::vdomain::setup
   include debian_org::mail_incoming_port
 
-  if $smarthost {
+  if $smarthost and $smarthost != '' {
     $heavy = false
   } else {
     $heavy = true