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