aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-07 23:09:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-07 23:09:42 -0200
commit189e763a6f9fcd0f211d80681530fc184b3404d0 (patch)
tree0fcd4a549a894532237f1b6decb0c218625b29fb /manifests
parentc87e465342d2ea6d0eb701c18814054cedb52399 (diff)
downloadpuppet-git-189e763a6f9fcd0f211d80681530fc184b3404d0.tar.gz
puppet-git-189e763a6f9fcd0f211d80681530fc184b3404d0.tar.bz2
Using $base_domain instead of $hosting_domain
Diffstat (limited to 'manifests')
-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