]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding $git_daemon variable (2)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 10 May 2012 18:51:48 +0000 (15:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 10 May 2012 18:51:48 +0000 (15:51 -0300)
manifests/subsystems/websites.pp

index 5854ba9e28f278b6dc833b6e0be4cd9dd2fbb079..4d70b48ec0c04001fadcf902d6e551940e6a4375 100644 (file)
@@ -130,7 +130,6 @@ class websites::hosting inherits websites::setup {
   # Include the needed classes for website hosting
   include php
   include drupal
-  include gitweb
   include trac
   include websvn
   include viewvc
@@ -140,6 +139,10 @@ class websites::hosting inherits websites::setup {
   include apache::rails
   include wordpress
 
+  if $git_daemon != false {
+    include gitweb
+  }
+
   apache::site { "images":
     docroot => "${apache_www_folder}/images",
     mpm     => false,