From: Silvio Rhatto Date: Wed, 30 Nov 2011 21:41:06 +0000 (-0200) Subject: Adding reprepro::cron::disabled X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=816fdc312f4ddc123511ce64bade1313a01eefd5;p=puppet-nodo.git Adding reprepro::cron::disabled --- 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",