aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/mail.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/mail.pp')
-rw-r--r--manifests/subsystem/mail.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/subsystem/mail.pp b/manifests/subsystem/mail.pp
index d0773e9..2bfd75e 100644
--- a/manifests/subsystem/mail.pp
+++ b/manifests/subsystem/mail.pp
@@ -1,6 +1,6 @@
class nodo::subsystem::mail {
# Email delivery configuration
- $mail_delivery = hiera('nodo::subsystem::mail::delivery', 'exim')
+ $mail_delivery = lookup('nodo::subsystem::mail::delivery', undef, undef, 'exim')
# A handy SMTP wrapper
include nodo::subsystem::mail::msmtp
@@ -15,9 +15,9 @@ class nodo::subsystem::mail {
case $mail_delivery {
'tunnel': {
- $mail_hostname = hiera('nodo::subsystem::mail::hostname')
+ $mail_hostname = lookup('nodo::subsystem::mail::hostname')
tunnel::autossh::mail { "$mail_hostname":
- sshport => hiera('nodo::subsystem::mail::ssh_port'),
+ sshport => lookup('nodo::subsystem::mail::ssh_port'),
}
}
'postfix', 'disabled': { }