aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/web.pp15
1 files changed, 12 insertions, 3 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index 66350aa..746aacd 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -18,15 +18,24 @@ class nodo::web inherits nodo::vserver {
include reprepro::cron
}
- false: { }
- default: {
- class { 'reprepro':
+ 'disabled': {
+ class { 'reprepro::disabled':
+ basedir => '/var/reprepro',
+ uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+ }
+
+ include reprepro::cron::disabled
+ }
+ 'purged': {
+ class { 'reprepro::purged':
basedir => '/var/reprepro',
uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
}
include reprepro::cron::disabled
}
+ false,default: { }
+ }
}
$git_daemon = hiera('nodo::web::git_daemon', True)