aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:41 -0300
commit47f1bd66a341d47d76b4beade5f06e2f99b3559f (patch)
treeb0c296609d36a84be9dfa549fb0be1ff44af82e1 /manifests
parentc80ca7156efd8374227349a46f7b2f148bfbab98 (diff)
downloadpuppet-pyroscope-47f1bd66a341d47d76b4beade5f06e2f99b3559f.tar.gz
puppet-pyroscope-47f1bd66a341d47d76b4beade5f06e2f99b3559f.tar.bz2
Hiera 5 migrationHEADmaster
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index efb74f3..54e612f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,7 +1,7 @@
class pyroscope(
- $password = hiera('pyroscope::password', ''),
- $homedir = hiera('pyroscope::homedir', '/var/cache/torrent'),
- $groups = hiera('pyroscope::groups', [ 'incoming' ]),
+ $password = lookup('pyroscope::password', undef, undef, ''),
+ $homedir = lookup('pyroscope::homedir', undef, undef, '/var/cache/torrent'),
+ $groups = lookup('pyroscope::groups', undef, undef, [ 'incoming' ]),
) {
case $password {
'': { fail("You need to define torrent user password! Please set pyroscope::password in your config") }