aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp49
1 files changed, 0 insertions, 49 deletions
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",
- }
-}