aboutsummaryrefslogtreecommitdiff
path: root/manifests/nodo.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 13:52:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 13:52:30 -0300
commit09aa9b1d4caeaa090e4a303e101e982ed04123ca (patch)
tree02fb14d45204e815ba2b1d20e369623bbbb14f4c /manifests/nodo.pp
parent0a9574960869f97f89e1f2ed36ba67403dd95089 (diff)
downloadpuppet-nodo-09aa9b1d4caeaa090e4a303e101e982ed04123ca.tar.gz
puppet-nodo-09aa9b1d4caeaa090e4a303e101e982ed04123ca.tar.bz2
Adding initial tunnel support
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r--manifests/nodo.pp12
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