From 189e763a6f9fcd0f211d80681530fc184b3404d0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 Jan 2010 23:09:42 -0200 Subject: Using $base_domain instead of $hosting_domain --- manifests/gitweb.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests/gitweb.pp') 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 -- cgit v1.2.3