diff options
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r-- | manifests/nodo.pp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp index e634ce9..c6d66c2 100644 --- a/manifests/nodo.pp +++ b/manifests/nodo.pp @@ -9,6 +9,7 @@ class nodo { include cron include hosts include locales + include tunnel # Set timezone and ntp config # @@ -29,8 +30,15 @@ class nodo { include monkeysphere # Email delivery configuration - if $mail_host != true { - include exim + case $mail_delivery { + 'tunnel' { + include exim::disabled + tunnel::mail { "$mail_hostname": + sshport => '$mail_ssh_port', + } + } + 'postfix': { } + '','exim',default: { include exim } } # Apt configuration |