From f3102cf4c6c2f1c6bfe06e4642efdd6f3cfb9ea8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Feb 2017 16:56:13 -0200 Subject: Adds git::daemon::groups --- manifests/daemon.pp | 5 +++-- 1 file 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"], } -- cgit v1.2.3