aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
commitfe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch)
treec2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/web.pp
parentec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff)
downloadpuppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz
puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2
Major refactor
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",
- }
-}