summaryrefslogtreecommitdiff
path: root/manifests/hosting.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/hosting.pp')
-rw-r--r--manifests/hosting.pp44
1 files changed, 0 insertions, 44 deletions
diff --git a/manifests/hosting.pp b/manifests/hosting.pp
index 7546222..e69de29 100644
--- a/manifests/hosting.pp
+++ b/manifests/hosting.pp
@@ -1,44 +0,0 @@
-class websites::hosting inherits websites::setup {
- # Include the needed classes for website hosting
- include php
- include trac
- include websvn
- include moin
- include apache::rails
- include rsync::rrsync
-
- # Declare the needed classes for website hosting
- class { [ 'drupal', 'ikiwiki', 'pmwiki', 'hotglue', 'wordpress' ]: }
- class {
- 'viewvc':
- root_parents => "/var/svn : svn";
- }
-
- $git_daemon = hiera('nodo::web::git_daemon', True)
-
- if $git_daemon != false {
- class { 'git::gitweb': }
- class { 'git::cgit': }
- }
-
- apache::site { "images":
- docroot => "${apache::www_folder}/images",
- mpm => false,
- tag => 'all',
- }
-
- # Remove untagged site instances
- Apache::Site <| tag != $::hostname and tag != 'all' |> {
- ensure => absent,
- }
-
- # Remove untagged database instances
- Database::Instance <| tag != $::hostname and tag != 'all' |> {
- ensure => absent,
- }
-
- # Remove untagged ikiwiki instances
- Ikiwiki::Instance <| tag != $::hostname and tag != 'all' |> {
- ensure => absent,
- }
-}