]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Using $hosting_domain instead of $apache_use_domain
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 8 Jan 2010 00:22:38 +0000 (22:22 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 8 Jan 2010 00:22:38 +0000 (22:22 -0200)
manifests/gitweb.pp
templates/gitweb.conf.erb

index 3daa92f2d57bdfd4675334c1568ac4d6a8b2cd9b..0944e1cac7f4319701731f0e5882d76c6cc3463f 100644 (file)
@@ -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
index d66ac5be44946de0a135fca20017801137341fe5..55ee7463225709dc0bc5e655fd4d2ed341273d5f 100644 (file)
@@ -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 %>');