diff options
Diffstat (limited to 'manifests/web.pp')
-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", |