aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/alamut.pp
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-07-06 20:07:19 +0300
committerThomas Backlund <tmb@mageia.org>2019-07-06 20:07:19 +0300
commitc7370364187f099a4d17be079674b7209064ad8a (patch)
treee8e1c0d92e4e834480ddb2d43180b4afa1841de1 /manifests/nodes/alamut.pp
parent08625db2309fa5cd5528ccfbbeb680da9d34e858 (diff)
downloadpuppet-c7370364187f099a4d17be079674b7209064ad8a.tar
puppet-c7370364187f099a4d17be079674b7209064ad8a.tar.gz
puppet-c7370364187f099a4d17be079674b7209064ad8a.tar.bz2
puppet-c7370364187f099a4d17be079674b7209064ad8a.tar.xz
puppet-c7370364187f099a4d17be079674b7209064ad8a.zip
drop obsolete alamut, jonund, valstar stuff
Diffstat (limited to 'manifests/nodes/alamut.pp')
-rw-r--r--manifests/nodes/alamut.pp66
1 files changed, 0 insertions, 66 deletions
diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp
deleted file mode 100644
index 34285b3e..00000000
--- a/manifests/nodes/alamut.pp
+++ /dev/null
@@ -1,66 +0,0 @@
-# web apps
-node alamut {
-# Location: IELO datacenter (marseille)
-#
-# TODO:
-# - Review board
-# - api
-# - pastebin
-# - LDAP slave
-#
- include common::default_mageia_server_no_smtp
- include postgresql::server
- postgresql::tagged { 'old': }
-
- timezone::timezone { 'Europe/Paris': }
-
- include dns::server
-
- class {'epoll::var':
- db_password => extlookup('epoll_pgsql','x'),
- }
- include epoll
- include epoll::create_db
-
- include postfix::server::primary
-
- # temporary, just the time the vm is running there
- host { 'friteuse':
- ensure => 'present',
- ip => '192.168.122.131',
- host_aliases => [ "friteuse.${::domain}", "forums.${::domain}" ],
- }
-
- # to create all phpbb database on alamut
- phpbb::databases { $fqdn: }
-
- apache::vhost::redirect_ssl { "forums.${::domain}": }
- apache::vhost_redirect { "forum.${::domain}":
- url => "https://forums.${::domain}/",
- }
- apache::vhost_redirect { "ssl_forum.${::domain}":
- url => "https://forums.${::domain}/",
- vhost => "forum.${::domain}",
- use_ssl => true,
- }
-
- # connect to ssl so the proxy do not shoke if trying to
- # enforce ssl ( note that this has not been tested, maybe this
- # is uneeded )
- apache::vhost::reverse_proxy { "ssl_forums.${::domain}":
- url => "https://forums.${::domain}/",
- vhost => "forums.${::domain}",
- use_ssl => true,
- content => '
- RewriteEngine On
- RewriteCond %{QUERY_STRING} mode=register
- RewriteRule .*ucp.php - [forbidden]
- ',
- }
-
- include tld_redirections
-
- include libvirtd::kvm
-
- include wikis
-}