From: Silvio Rhatto Date: Thu, 9 Feb 2017 18:56:13 +0000 (-0200) Subject: Adds git::daemon::groups X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f3102cf4c6c2f1c6bfe06e4642efdd6f3cfb9ea8;p=puppet-git.git Adds git::daemon::groups --- 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"], }