summaryrefslogtreecommitdiff
path: root/manifests/autossh
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/autossh')
-rw-r--r--manifests/autossh/instance.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/autossh/instance.pp b/manifests/autossh/instance.pp
index 8f99576..2c564ed 100644
--- a/manifests/autossh/instance.pp
+++ b/manifests/autossh/instance.pp
@@ -6,7 +6,7 @@ define tunnel::autossh::instance(
$user = $hostname,
$sshport = '22',
$keytype = 'rsa',
- $root_mail_recipient = hiera('mail::root_mail_recipient', 'nobody')
+ $root_mail_recipient = lookup('mail::root_mail_recipient', undef, undef, 'nobody')
) {
$dir = "/var/backups/remote/${user}.${::domain}"
$tag = "backupninja-${::fqdn}"