From fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 12 Apr 2013 17:09:03 -0300 Subject: Major refactor --- manifests/web.pp | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 manifests/web.pp (limited to 'manifests/web.pp') diff --git a/manifests/web.pp b/manifests/web.pp deleted file mode 100644 index 24318cc..0000000 --- a/manifests/web.pp +++ /dev/null @@ -1,49 +0,0 @@ -class nodo::web inherits nodo::vserver { - # Hidden services - $hidden = hiera('apache::site::hidden', false) - if $hidden == true { - include onion - } - - # 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 - } - 'disabled': { - class { 'reprepro::disabled': - basedir => '/var/reprepro', - } - } - 'purged': { - class { 'reprepro::purged': - basedir => '/var/reprepro', - } - } - false,default: { } - } - - $git_daemon = hiera('nodo::web::git_daemon', True) - - if $git_daemon != false { - class { 'git::daemon': } - } - - backupninja::svn { "svn": - src => "/var/svn", - } -} -- cgit v1.2.3