diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 19:41:06 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-30 19:41:06 -0200 |
commit | 816fdc312f4ddc123511ce64bade1313a01eefd5 (patch) | |
tree | b4b12e5299b33aa15d4e3009765f6b96ee44bf5f | |
parent | c7b4ac8d74d27c385dc34986131239a0df3c66a7 (diff) | |
download | puppet-nodo-816fdc312f4ddc123511ce64bade1313a01eefd5.tar.gz puppet-nodo-816fdc312f4ddc123511ce64bade1313a01eefd5.tar.bz2 |
Adding reprepro::cron::disabled
-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 b9d7bc2..3f41e79 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -1,13 +1,22 @@ class nodo::web inherits nodo::vserver { # Class for web nodes - $reprepro_basedir = '/var/reprepro' - include git-daemon include websites include database include users::virtual include utils::web - include reprepro::cron + + # Reprepro configuration + $reprepro_basedir = '/var/reprepro' + + case $reprepro { + 'enabled': { + include reprepro::cron + } + default: { + include reprepro::cron::disabled + } + } backupninja::svn { "svn": src => "/var/svn", |