aboutsummaryrefslogtreecommitdiff
path: root/manifests/nodo.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r--manifests/nodo.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 0ab3836..0fb8ef9 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -27,10 +27,10 @@ class nodo {
$ntp_servers = [ 'a.ntp.br', 'b.ntp.br', 'c.ntp.br' ]
# Email delivery configuration
- case $mail_delivery {
+ case hiera('mail_delivery', 'exim') {
'tunnel': {
- tunnel::mail { "$mail_hostname":
- sshport => "$mail_ssh_port",
+ tunnel::mail { hiera('mail_hostname'):
+ sshport => hiera('mail_ssh_port'),
}
}
'postfix': { }