aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/gitweb.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp
index 4b96b28..9f3343c 100644
--- a/manifests/gitweb.pp
+++ b/manifests/gitweb.pp
@@ -4,8 +4,9 @@ class gitweb inherits gitosis {
# the needed packages
package { gitweb: ensure => installed }
- case $hosting_domain {
- '': { $hosting_domain = $domain }
+ $hosting_domain = $base_domain ? {
+ '' => $domain,
+ default => $base_domain,
}
# gitweb config file