aboutsummaryrefslogtreecommitdiff
path: root/manifests/user.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:55:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:55:39 -0300
commitd1533e314ca98f3e19d2c24bac149de5d61d96b4 (patch)
treed69705ea99bae532cb9e163d7b60947bbd1afb0a /manifests/user.pp
parenta273c148adb5d41a62b1b768d99d73f7db4979df (diff)
downloadpuppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.gz
puppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests/user.pp')
-rw-r--r--manifests/user.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/user.pp b/manifests/user.pp
index 3ada103..d31fb3a 100644
--- a/manifests/user.pp
+++ b/manifests/user.pp
@@ -5,7 +5,7 @@
define backup::user(
$ensure = present,
$hosting_domain = $::domain,
- $sshkey = hiera("'ssh_authorized_key::${name}.${hosting_domain}'"),
+ $sshkey = lookup("'ssh_authorized_key::${name}.${hosting_domain}'"),
) {
user::manage { $name:
ensure => $ensure,