From: Silvio Rhatto Date: Fri, 8 Jan 2010 01:09:42 +0000 (-0200) Subject: Using $base_domain instead of $hosting_domain X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=189e763a6f9fcd0f211d80681530fc184b3404d0;p=puppet-git.git Using $base_domain instead of $hosting_domain --- 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