diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-02-09 16:56:13 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-02-09 16:56:13 -0200 |
commit | f3102cf4c6c2f1c6bfe06e4642efdd6f3cfb9ea8 (patch) | |
tree | 7d0f5d7aea2b86c1fc74c0704fe64cfcb6e515f5 | |
parent | a4aa626c9cf4fcb8799fcdc31bd665148ed6876d (diff) | |
download | puppet-git-f3102cf4c6c2f1c6bfe06e4642efdd6f3cfb9ea8.tar.gz puppet-git-f3102cf4c6c2f1c6bfe06e4642efdd6f3cfb9ea8.tar.bz2 |
Adds git::daemon::groups
-rw-r--r-- | manifests/daemon.pp | 5 |
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"], } |