From 97ad855e1893141efa5a8b9fbd667a4ad7c8b175 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 10 May 2012 15:51:48 -0300 Subject: Adding $git_daemon variable (2) --- manifests/subsystems/websites.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems') 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, -- cgit v1.2.3