summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:45 -0300
commit44244609f1bc129312dc4d707d708d602b8390e2 (patch)
treead8657ab1544d6bbad85af9303448749c1eec34e
parent98cdd18633ba2b1becb6402d23dd08b1dd218771 (diff)
downloadpuppet-tunnel-master.tar.gz
puppet-tunnel-master.tar.bz2
Hiera 5 migrationHEADmaster
-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}"