class nodo::web inherits nodo::vserver { # Classes for web nodes include websites include database include users::virtual include utils::web # Reprepro configuration $reprepro = hiera('nodo::web::reprepro', false) $reprepro_basedir = '/var/reprepro' 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 } } $git_daemon = hiera('nodo::web::git_daemon', True) if $git_daemon != false { class { 'git::daemon': } } backupninja::svn { "svn": src => "/var/svn", } }