summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2013-01-07 19:36:16 -0500
committerAntoine Beaupré <anarcat@koumbit.org>2013-01-07 19:36:16 -0500
commitd34ae9f4ee2950566cda0485eb6addfa0e117bfd (patch)
treeb3138e9f4fd5eafc6b9ef2dbf65353f5d290b136
parent5fd35af26ae715bba17f49f8847bd21bc919ef53 (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.pp6
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",