From 09aa9b1d4caeaa090e4a303e101e982ed04123ca Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 29 May 2010 13:52:30 -0300 Subject: Adding initial tunnel support --- manifests/nodo.pp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'manifests/nodo.pp') 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 -- cgit v1.2.3