aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-10 15:51:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-10 15:51:48 -0300
commit97ad855e1893141efa5a8b9fbd667a4ad7c8b175 (patch)
tree347e47cf9a627ba1ae1d19dc5015879cfa4e6dff
parentfcf2461e8fb648f1ef1d24c3ac643fbeabc5dd7f (diff)
downloadpuppet-nodo-97ad855e1893141efa5a8b9fbd667a4ad7c8b175.tar.gz
puppet-nodo-97ad855e1893141efa5a8b9fbd667a4ad7c8b175.tar.bz2
Adding $git_daemon variable (2)
-rw-r--r--manifests/subsystems/websites.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 5854ba9..4d70b48 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -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,