From 44244609f1bc129312dc4d707d708d602b8390e2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:58:45 -0300 Subject: Hiera 5 migration --- manifests/autossh/instance.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3