aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:11:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:11:10 -0200
commitad93c29cdf909dc257e1fdadc97d284b5c36933e (patch)
treea4cd7cb534877675c1582ba50b8d78fcb9d5ad3a /manifests/web.pp
parentebee6dfdaa5990f20bf4f7f84313f26a8d14afa7 (diff)
downloadpuppet-nodo-ad93c29cdf909dc257e1fdadc97d284b5c36933e.tar.gz
puppet-nodo-ad93c29cdf909dc257e1fdadc97d284b5c36933e.tar.bz2
Upgrading reprepro
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index 86aa996..66350aa 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -11,9 +11,20 @@ class nodo::web inherits nodo::vserver {
case $reprepro {
true,'enabled': {
+ class { 'reprepro':
+ basedir => '/var/reprepro',
+ uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+ }
+
include reprepro::cron
}
+ false: { }
default: {
+ class { 'reprepro':
+ basedir => '/var/reprepro',
+ uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+ }
+
include reprepro::cron::disabled
}
}