aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 23:18:56 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 23:18:56 -0200
commit2a4d6f13165a9e8777fa424b42d7883525a50bd1 (patch)
tree1e38f9cf0edd46ae3da1820dca47faffc216dd22 /manifests/web.pp
parent15973911ef2fe2b9bd836396bfd0b5ce6e109f7a (diff)
downloadpuppet-nodo-2a4d6f13165a9e8777fa424b42d7883525a50bd1.tar.gz
puppet-nodo-2a4d6f13165a9e8777fa424b42d7883525a50bd1.tar.bz2
Getting git daemon config from hiera
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp4
1 files changed, 3 insertions, 1 deletions
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
}