aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-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
}
}