aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-07 22:22:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-07 22:22:38 -0200
commitb6836184e40eb57e31ffeb77898953aa09cf8449 (patch)
treec0201a5cbc69a050d12747cf1543fceb4c0d9c5c
parent2c7d5d69ba3d84b6c36c4acad83a717e4ecd58e3 (diff)
downloadpuppet-git-b6836184e40eb57e31ffeb77898953aa09cf8449.tar.gz
puppet-git-b6836184e40eb57e31ffeb77898953aa09cf8449.tar.bz2
Using $hosting_domain instead of $apache_use_domain
-rw-r--r--manifests/gitweb.pp4
-rw-r--r--templates/gitweb.conf.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp
index 3daa92f..0944e1c 100644
--- a/manifests/gitweb.pp
+++ b/manifests/gitweb.pp
@@ -4,8 +4,8 @@ class gitweb inherits gitosis {
# the needed packages
package { gitweb: ensure => installed }
- case $apache_use_domain {
- '': { $apache_use_domain = $domain }
+ case $hosting_omain {
+ '': { $hosting_domain = $domain }
}
# gitweb config file
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index d66ac5b..55ee746 100644
--- a/templates/gitweb.conf.erb
+++ b/templates/gitweb.conf.erb
@@ -25,4 +25,4 @@ $logo = "/git-logo.png";
$favicon = "/git-favicon.png";
# header url
-@git_base_url_list = ('git://git.<%= apache_use_domain %>');
+@git_base_url_list = ('git://git.<%= hosting_domain %>');