aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:40:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:40:42 -0200
commit2ead031c3e15ad1aeee4113be3250a74fa4bc766 (patch)
tree3db141612ee7347d3ffb8562e99b191a34528954 /templates
parent68f7dc307e1ba12b5bbdabdc7d516de65981ec2e (diff)
downloadpuppet-git-2ead031c3e15ad1aeee4113be3250a74fa4bc766.tar.gz
puppet-git-2ead031c3e15ad1aeee4113be3250a74fa4bc766.tar.bz2
Refactoring to use parametrized classes and hiera
Diffstat (limited to 'templates')
-rw-r--r--templates/gitweb.conf.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index cffe213..00f2053 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/<% if git_server_implementation == 'gitosis' %><%= git_server_implementation %>/<% end %>projects.list";
+$projects_list = "/var/git/<% if implementation == 'gitosis' %><%= implementation %>/<% end %>projects.list";
# stylesheet to use
$stylesheet = "/gitweb.css";
@@ -25,4 +25,4 @@ $logo = "/git-logo.png";
$favicon = "/git-favicon.png";
# header url
-@git_base_url_list = ('<%= base_url_protocol %>://git.<%= hosting_domain %>');
+@git_base_url_list = ('<%= protocol %>://git.<%= hosting_domain %>');