diff options
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r-- | manifests/daemon.pp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 9a63d39..7dedce9 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -1,16 +1,10 @@ -# This class configures the git-daemon service. It ensures the packages is -# installed and a line is present in /etc/inetd.conf, which configures it. -# It depends on a "line" definition, which can be found here: -# -# http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText - class git::daemon ( $implementation = hiera('git::daemon::implementation', 'gitolite') ) { case $implementation { 'gitosis': { - include gitosis + include git::gitosis } default: { include git::gitolite @@ -23,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, } } |