From 28d90f7d8812d1237d346c192844b961be16bd55 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 9 Oct 2010 17:35:12 -0300 Subject: Adding $gitweb_protocol parameter --- manifests/gitweb.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests/gitweb.pp') diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp index 9f3343c..dbf08e1 100644 --- a/manifests/gitweb.pp +++ b/manifests/gitweb.pp @@ -9,6 +9,11 @@ class gitweb inherits gitosis { default => $base_domain, } + $base_url_protocol = $gitweb_protocol ? { + '' => 'git', + default => $gitweb_protocol, + } + # gitweb config file file { "/etc/gitweb.conf": owner => "root", -- cgit v1.2.3