diff options
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r-- | manifests/nodo.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp index 491d249..a9cf037 100644 --- a/manifests/nodo.pp +++ b/manifests/nodo.pp @@ -47,7 +47,8 @@ class nodo { class { 'runit': ensure => absent } # Email delivery configuration - case hiera('nodo::mail_delivery', 'exim') { + $mail_delivery = hiera('nodo::mail_delivery', 'exim') + case $mail_delivery { 'tunnel': { $mail_hostname = hiera('nodo::mail_hostname') tunnel::mail { "$mail_hostname": |