From 2ead031c3e15ad1aeee4113be3250a74fa4bc766 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 10:40:42 -0200 Subject: Refactoring to use parametrized classes and hiera --- templates/gitweb.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/gitweb.conf.erb') 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 %>'); -- cgit v1.2.3