diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 23:09:42 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 23:09:42 -0200 |
commit | 189e763a6f9fcd0f211d80681530fc184b3404d0 (patch) | |
tree | 0fcd4a549a894532237f1b6decb0c218625b29fb | |
parent | c87e465342d2ea6d0eb701c18814054cedb52399 (diff) | |
download | puppet-git-189e763a6f9fcd0f211d80681530fc184b3404d0.tar.gz puppet-git-189e763a6f9fcd0f211d80681530fc184b3404d0.tar.bz2 |
Using $base_domain instead of $hosting_domain
-rw-r--r-- | manifests/gitweb.pp | 5 |
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 |