diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:35:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:35:35 -0200 |
commit | 954dd874351eda500e88b9e59c60af555e8e7b40 (patch) | |
tree | f49137189d97e419ce0ede4207483a5e7f64cd3a /manifests | |
parent | ad93c29cdf909dc257e1fdadc97d284b5c36933e (diff) | |
download | puppet-nodo-954dd874351eda500e88b9e59c60af555e8e7b40.tar.gz puppet-nodo-954dd874351eda500e88b9e59c60af555e8e7b40.tar.bz2 |
Adding reprepro::disabled and reprepro::purged
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/web.pp | 15 |
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) |