aboutsummaryrefslogtreecommitdiff
path: root/manifests/gitweb.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/gitweb.pp')
-rw-r--r--manifests/gitweb.pp5
1 files changed, 5 insertions, 0 deletions
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",