diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:11:10 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:11:10 -0200 |
commit | ad93c29cdf909dc257e1fdadc97d284b5c36933e (patch) | |
tree | a4cd7cb534877675c1582ba50b8d78fcb9d5ad3a | |
parent | ebee6dfdaa5990f20bf4f7f84313f26a8d14afa7 (diff) | |
download | puppet-nodo-ad93c29cdf909dc257e1fdadc97d284b5c36933e.tar.gz puppet-nodo-ad93c29cdf909dc257e1fdadc97d284b5c36933e.tar.bz2 |
Upgrading reprepro
-rw-r--r-- | manifests/web.pp | 11 |
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 } } |