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") }