]> gitweb.fluxo.info Git - puppet-tunnel.git/commitdiff
Hiera 5 migration master
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:45 +0000 (20:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:45 +0000 (20:58 -0300)
manifests/autossh/instance.pp

index 8f9957635b95b1466272b09479b7383294365ebe..2c564ed28e0ddbce9385cb9e3d7f74fc696c5031 100644 (file)
@@ -6,7 +6,7 @@ define tunnel::autossh::instance(
   $user                = $hostname,
   $sshport             = '22',
   $keytype             = 'rsa',
   $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}"
 ) {
   $dir     = "/var/backups/remote/${user}.${::domain}"
   $tag     = "backupninja-${::fqdn}"