diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2013-01-07 19:36:16 -0500 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2013-01-07 19:36:16 -0500 |
commit | d34ae9f4ee2950566cda0485eb6addfa0e117bfd (patch) | |
tree | b3138e9f4fd5eafc6b9ef2dbf65353f5d290b136 | |
parent | 5fd35af26ae715bba17f49f8847bd21bc919ef53 (diff) |
Revert "make sure the user belongs to the right group if we haven't created it"
This reverts commit a33c09dd96f310e997c2365ebfd23860b65e61f4.
-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", |