7 |
# - api |
# - api |
8 |
# - pastebin |
# - pastebin |
9 |
# - LDAP slave |
# - LDAP slave |
10 |
# |
# |
11 |
include common::default_mageia_server_no_smtp |
include common::default_mageia_server_no_smtp |
12 |
include postgresql::server |
include postgresql::server |
13 |
postgresql::tagged { "default": } |
postgresql::tagged { 'default': } |
14 |
|
|
15 |
timezone::timezone { "Europe/Paris": } |
timezone::timezone { 'Europe/Paris': } |
16 |
|
|
17 |
include catdap |
include catdap |
18 |
include mga-mirrors |
include mga-mirrors |
24 |
|
|
25 |
# temporary, just the time the vm is running there |
# temporary, just the time the vm is running there |
26 |
host { 'friteuse': |
host { 'friteuse': |
27 |
ip => '192.168.122.131', |
ensure => 'present', |
28 |
|
ip => '192.168.122.131', |
29 |
host_aliases => [ "friteuse.$domain", "forums.$domain" ], |
host_aliases => [ "friteuse.$domain", "forums.$domain" ], |
|
ensure => 'present', |
|
30 |
} |
} |
31 |
|
|
32 |
# to create all phpbb database on alamut |
# to create all phpbb database on alamut |
34 |
|
|
35 |
apache::vhost_redirect_ssl { "forums.$domain": } |
apache::vhost_redirect_ssl { "forums.$domain": } |
36 |
apache::vhost_redirect { "forum.$domain": |
apache::vhost_redirect { "forum.$domain": |
37 |
url => "https://forums.$domain/", |
url => "https://forums.$domain/", |
38 |
} |
} |
39 |
apache::vhost_redirect { "ssl_forum.$domain": |
apache::vhost_redirect { "ssl_forum.$domain": |
40 |
url => "https://forums.$domain/", |
url => "https://forums.$domain/", |
41 |
vhost => "forum.$domain", |
vhost => "forum.$domain", |
42 |
use_ssl => true, |
use_ssl => true, |
43 |
} |
} |
44 |
|
|
45 |
# connect to ssl so the proxy do not shoke if trying to |
# connect to ssl so the proxy do not shoke if trying to |
46 |
# enforce ssl ( note that this has not been tested, maybe this |
# enforce ssl ( note that this has not been tested, maybe this |
47 |
# is uneeded ) |
# is uneeded ) |
48 |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
49 |
url => "https://forums.$domain/", |
url => "https://forums.$domain/", |
50 |
vhost => "forums.$domain", |
vhost => "forums.$domain", |
51 |
use_ssl => true, |
use_ssl => true, |
52 |
} |
} |
53 |
|
|
55 |
|
|
56 |
include libvirtd::kvm |
include libvirtd::kvm |
57 |
include lists |
include lists |
58 |
include dns::server |
include dns::server |
59 |
include repositories::svn_mirror |
include repositories::svn_mirror |
60 |
include viewvc |
include viewvc |
61 |
|
|
65 |
|
|
66 |
include xymon::server |
include xymon::server |
67 |
apache::vhost_simple { "xymon.$domain": |
apache::vhost_simple { "xymon.$domain": |
68 |
location => "/var/lib/xymon/www", |
location => '/var/lib/xymon/www', |
69 |
} |
} |
70 |
|
|
71 |
youri-check::report_www {"check": } |
youri-check::report_www { 'check': } |
72 |
|
|
73 |
youri-check::config {"config_cauldron": |
youri-check::config {'config_cauldron': |
74 |
version => "cauldron", |
version => 'cauldron', |
75 |
} |
} |
76 |
youri-check::report {"report_cauldron": |
youri-check::report { 'report_cauldron': |
77 |
version => "cauldron", |
version => 'cauldron', |
78 |
hour => "*", |
hour => '*', |
79 |
minute => 24 |
minute => '24' |
80 |
} |
} |
81 |
|
|
82 |
youri-check::config {"config_1": |
youri-check::config {'config_1': |
83 |
version => "1", |
version => '1', |
84 |
} |
} |
85 |
youri-check::report {"report_1": |
youri-check::report {'report_1': |
86 |
version => "1", |
version => '1', |
87 |
hour => "*", |
hour => '*', |
88 |
minute => 54 |
minute => '54' |
89 |
} |
} |
90 |
|
|
91 |
include wikis |
include wikis |