aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/websites.pp2
-rw-r--r--manifests/web.pp4
2 files changed, 5 insertions, 1 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 93415d3..634e1c2 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -107,6 +107,8 @@ class websites::hosting inherits websites::setup {
root_parents => "/var/svn : svn";
}
+ $git_daemon = hiera('nodo::web::git_daemon', True)
+
if $git_daemon != false {
include gitweb
}
diff --git a/manifests/web.pp b/manifests/web.pp
index 95528d5..4329f81 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -6,7 +6,7 @@ class nodo::web inherits nodo::vserver {
include utils::web
# Reprepro configuration
- $reprepro = hiera('nodo::web::reprepro', false)
+ $reprepro = hiera('nodo::web::reprepro', false)
$reprepro_basedir = '/var/reprepro'
case $reprepro {
@@ -18,6 +18,8 @@ class nodo::web inherits nodo::vserver {
}
}
+ $git_daemon = hiera('nodo::web::git_daemon', True)
+
if $git_daemon != false {
include git-daemon
}