diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-02 18:09:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-02 18:09:19 -0300 |
commit | 2f8c3ef206677dfdb4b3ee517149197f3d391e2b (patch) | |
tree | dd529776d1c95ddf1bd7791b9261b07dd0efabe2 | |
parent | 083c46bcae2054233d16ad94fb46c5958c6666d4 (diff) | |
download | puppet-git-2f8c3ef206677dfdb4b3ee517149197f3d391e2b.tar.gz puppet-git-2f8c3ef206677dfdb4b3ee517149197f3d391e2b.tar.bz2 |
Use 'git' instead of 'gitolite' user (2)
-rw-r--r-- | files/git-mass-update-server-info | 2 | ||||
-rw-r--r-- | manifests/daemon.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/git-mass-update-server-info b/files/git-mass-update-server-info index 53143cf..dafa6c0 100644 --- a/files/git-mass-update-server-info +++ b/files/git-mass-update-server-info @@ -9,5 +9,5 @@ REPOS="/var/git/repositories" for repo in `ls $REPOS`; do - ( cd $REPOS/$repo && su gitolite -c "git update-server-info" ) + ( cd $REPOS/$repo && su git -c "git update-server-info" ) done diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 56e0430..7dedce9 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -17,7 +17,7 @@ class git::daemon ( # git-daemon config in inetd line { "git-daemon-inetd": file => "/etc/inetd.conf", - line => "git stream tcp nowait ${implementation} /usr/bin/git git daemon --inetd --verbose --base-path=/var/git/repositories /var/git/repositories", + line => "git stream tcp nowait git /usr/bin/git git daemon --inetd --verbose --base-path=/var/git/repositories /var/git/repositories", ensure => present, } } |