diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index bdfca0a..106e05b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,5 +1,6 @@ class pyroscope( - $password = hiera('pyroscope::password', '') + $password = hiera('pyroscope::password', ''), + $groups = hiera('pyroscope::groups', [ 'incoming' ]), ) { case $password { '': { fail("You need to define torrent user password! Please set pyroscope::password in your config") } @@ -9,7 +10,7 @@ class pyroscope( password => $password, homedir => '/var/cache/torrent', ensure => present, - groups => [ 'incoming' ], + groups => $groups, } file { '/var/cache/media/seeding': |