aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index e2d24f7..41ef0b7 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -1,6 +1,7 @@
class git::daemon (
$implementation = hiera('git::daemon::implementation', 'gitolite'),
- $inetd = hiera('git::daemon::inetd', true)
+ $inetd = hiera('git::daemon::inetd', true),
+ $groups = hiera('git::daemon::groups, [ 'puppet' ]),
) {
# directory for git user and repositories
file { "/var/git":
@@ -45,7 +46,7 @@ class git::daemon (
shell => "/bin/sh",
gid => "git",
password => '*',
- groups => [ "puppet" ],
+ groups => $groups,
require => Group["git"],
}