aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-22 17:07:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-22 17:07:40 -0200
commit0f47e9b2754a34ca01d770b81008c85fea291a64 (patch)
treeacc62dec17c3535927d55c4ae9ee7b98beb0481a /templates
parentb288eb327b0436124f2746e4301126c1bc67897e (diff)
downloadpuppet-git-0f47e9b2754a34ca01d770b81008c85fea291a64.tar.gz
puppet-git-0f47e9b2754a34ca01d770b81008c85fea291a64.tar.bz2
Gitweb config fix
Diffstat (limited to 'templates')
-rw-r--r--templates/gitweb.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index 57f9a4b..cffe213 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/<%= git_server_implementation %>/projects.list";
+$projects_list = "/var/git/<% if git_server_implementation == 'gitosis' %><%= git_server_implementation %>/<% end %>projects.list";
# stylesheet to use
$stylesheet = "/gitweb.css";