From: Silvio Rhatto Date: Thu, 7 May 2020 23:58:45 +0000 (-0300) Subject: Hiera 5 migration X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=HEAD;p=puppet-tunnel.git Hiera 5 migration --- 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}"