aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/git-manager.pp4
-rw-r--r--templates/gitweb.conf.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/git-manager.pp b/manifests/git-manager.pp
index 86ef06b..e31db0b 100644
--- a/manifests/git-manager.pp
+++ b/manifests/git-manager.pp
@@ -1,6 +1,6 @@
class git-manager {
- case $use_gitolite {
- true: {
+ case $git_server_implementation {
+ 'gitolite': {
include gitolite
}
default: {
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index bb96741..57f9a4b 100644
--- a/templates/gitweb.conf.erb
+++ b/templates/gitweb.conf.erb
@@ -13,7 +13,7 @@ $git_temp = "/tmp";
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
-$projects_list = "/var/git/gitosis/projects.list";
+$projects_list = "/var/git/<%= git_server_implementation %>/projects.list";
# stylesheet to use
$stylesheet = "/gitweb.css";