From: Silvio Rhatto Date: Thu, 29 May 2014 14:46:23 +0000 (-0300) Subject: Mail can be disabled via nodo::subsystem::mail::delivery X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5dee6285291b293b34f9239e17bd84e499de0085;p=puppet-nodo.git Mail can be disabled via nodo::subsystem::mail::delivery --- diff --git a/manifests/subsystem/mail.pp b/manifests/subsystem/mail.pp index c3eda4c..b688794 100644 --- a/manifests/subsystem/mail.pp +++ b/manifests/subsystem/mail.pp @@ -4,13 +4,13 @@ class nodo::subsystem::mail { $munin = hiera('nodo::host::use_munin', True) case $mail_delivery { - 'tunnel': { + 'tunnel': { $mail_hostname = hiera('nodo::subsystem::mail::hostname') tunnel::autossh::mail { "$mail_hostname": sshport => hiera('nodo::subsystem::mail::ssh_port'), } } - 'postfix': { } + 'postfix', 'disabled': { } '','exim',default: { include exim::tls