aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 23:02:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 23:02:30 -0200
commit0d7e3bf5e5df2b71ec01028b50751d0759178c76 (patch)
tree4166c2b1b1704bb123fa7f88c134efff3fdf5dda /manifests
parent9b48575dc070cfe0027b8b93b1f3976af81fe637 (diff)
downloadpuppet-nodo-0d7e3bf5e5df2b71ec01028b50751d0759178c76.tar.gz
puppet-nodo-0d7e3bf5e5df2b71ec01028b50751d0759178c76.tar.bz2
Getting reprepro config from hiera
Diffstat (limited to 'manifests')
-rw-r--r--manifests/web.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index ef05dbe..95528d5 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -6,10 +6,11 @@ class nodo::web inherits nodo::vserver {
include utils::web
# Reprepro configuration
+ $reprepro = hiera('nodo::web::reprepro', false)
$reprepro_basedir = '/var/reprepro'
case $reprepro {
- 'enabled': {
+ true,'enabled': {
include reprepro::cron
}
default: {