diff options
-rw-r--r-- | manifests/repository.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/repository.pp b/manifests/repository.pp index 83d081e..5bcf599 100644 --- a/manifests/repository.pp +++ b/manifests/repository.pp @@ -14,7 +14,11 @@ define reprepro::repository ( ) { include reprepro - if !defined(User[$user]) { + if defined(User[$user]) { + User[$user] { + groups +> $group, + } + } else { user { $user: ensure => "present", home => "$basedir", |