aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r--manifests/daemon.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 740a2ad..47746a6 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -1,7 +1,7 @@
class git::daemon (
$implementation = hiera('git::daemon::implementation', 'gitolite')
) {
- # directory for gitosis user and repositories
+ # directory for git user and repositories
file { "/var/git":
ensure => directory,
mode => 0755,
@@ -67,14 +67,8 @@ class git::daemon (
require => File['/usr/local/sbin/git-mass-update-server-info'],
}
- case $implementation {
- 'gitosis': {
- include git::gitosis
- }
- default: {
- include git::gitolite
- }
- }
+ # default implementation
+ include git::gitolite
# the needed packages and services
include inetd