1 |
# web apps |
2 |
node alamut { |
3 |
# Location: IELO datacenter (marseille) |
4 |
# |
5 |
# TODO: |
6 |
# - Review board |
7 |
# - api |
8 |
# - pastebin |
9 |
# - LDAP slave |
10 |
# |
11 |
include common::default_mageia_server_no_smtp |
12 |
include postgresql::server |
13 |
postgresql::tagged { "default": } |
14 |
|
15 |
timezone::timezone { "Europe/Paris": } |
16 |
|
17 |
include catdap |
18 |
include mga-mirrors |
19 |
include epoll |
20 |
include transifex |
21 |
include bugzilla |
22 |
include sympa::server |
23 |
include postfix::primary_smtp |
24 |
|
25 |
# temporary, just the time the vm is running there |
26 |
host { 'friteuse': |
27 |
ip => '192.168.122.131', |
28 |
host_aliases => [ "friteuse.$domain", "forums.$domain" ], |
29 |
ensure => 'present', |
30 |
} |
31 |
|
32 |
# to create all phpbb database on alamut |
33 |
phpbb::databases { $fqdn: } |
34 |
|
35 |
apache::vhost_redirect_ssl { "forums.$domain": } |
36 |
apache::vhost_redirect { "forum.$domain": |
37 |
url => "https://forums.$domain/", |
38 |
} |
39 |
apache::vhost_redirect { "ssl_forum.$domain": |
40 |
url => "https://forums.$domain/", |
41 |
vhost => "forum.$domain", |
42 |
use_ssl => true, |
43 |
} |
44 |
|
45 |
# connect to ssl so the proxy do not shoke if trying to |
46 |
# enforce ssl ( note that this has not been tested, maybe this |
47 |
# is uneeded ) |
48 |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
49 |
url => "https://forums.$domain/", |
50 |
vhost => "forums.$domain", |
51 |
use_ssl => true, |
52 |
} |
53 |
|
54 |
include tld_redirections |
55 |
|
56 |
include libvirtd::kvm |
57 |
include lists |
58 |
include dns::server |
59 |
include repositories::svn_mirror |
60 |
include viewvc |
61 |
|
62 |
# disabled until fixed |
63 |
#include repositories::git_mirror |
64 |
include gitweb |
65 |
|
66 |
include xymon::server |
67 |
apache::vhost_simple { "xymon.$domain": |
68 |
location => "/var/lib/xymon/www", |
69 |
} |
70 |
|
71 |
include youri-check::report |
72 |
|
73 |
include wikis |
74 |
} |