1 |
# svn, big important server |
2 |
node valstar { |
3 |
# Location: IELO datacenter (marseille) |
4 |
# |
5 |
# TODO: |
6 |
# - GIT server |
7 |
# - setup youri |
8 |
# - setup maintainers database (with web interface) |
9 |
# - mirroring (Nanar) |
10 |
# |
11 |
include default_mageia_server |
12 |
timezone::timezone { "Europe/Paris": } |
13 |
include rsyncd |
14 |
include main_mirror |
15 |
include openldap::master |
16 |
include subversion::client |
17 |
include subversion::server |
18 |
include puppet::master |
19 |
include ssh::auth |
20 |
include ssh::auth::keymaster |
21 |
include buildsystem::mainnode |
22 |
include buildsystem::mgacreatehome |
23 |
|
24 |
include access_classes::committers |
25 |
include restrictshell::allow_git |
26 |
include restrictshell::allow_svn |
27 |
include restrictshell::allow_pkgsubmit |
28 |
# disabled the ldap key here instead of disabling for the |
29 |
# whole module ( see r698 ) |
30 |
#include openssh::ssh_keys_from_ldap |
31 |
|
32 |
include repositories::subversion |
33 |
include repositories::git |
34 |
|
35 |
include websites::svn |
36 |
|
37 |
subversion::snapshot { "/etc/puppet": |
38 |
source => "svn://svn.mageia.org/svn/adm/puppet/" |
39 |
} |
40 |
} |
41 |
|
42 |
# web apps |
43 |
node alamut { |
44 |
# Location: IELO datacenter (marseille) |
45 |
# |
46 |
# TODO: |
47 |
# - Review board |
48 |
# - nagios |
49 |
# - api |
50 |
# - mail server |
51 |
# - mailing list server |
52 |
# - wiki |
53 |
# - pastebin |
54 |
# - LDAP slave |
55 |
# |
56 |
include default_mageia_server_no_smtp |
57 |
include postgresql::server |
58 |
timezone::timezone { "Europe/Paris": } |
59 |
|
60 |
include catdap |
61 |
include websites::donate |
62 |
include mga-mirrors |
63 |
include epoll |
64 |
include transifex |
65 |
include bugzilla |
66 |
include sympa::server |
67 |
include postfix::primary_smtp |
68 |
|
69 |
# temporary, just the time the vm is running there |
70 |
host { 'friteuse': |
71 |
ip => '192.168.122.131', |
72 |
host_aliases => [ "friteuse.$domain", "forums.$domain" ], |
73 |
ensure => 'present', |
74 |
} |
75 |
|
76 |
apache::vhost_redirect_ssl { "forums.$domain": } |
77 |
apache::vhost_redirect { "forum.$domain": |
78 |
url => "https://forums.$domain/", |
79 |
} |
80 |
apache::vhost_redirect { "ssl_forum.$domain": |
81 |
url => "https://forums.$domain/", |
82 |
vhost => "forum.$domain", |
83 |
use_ssl => true, |
84 |
} |
85 |
|
86 |
# connect to ssl so the proxy do not shoke if trying to |
87 |
# enforce ssl ( note that this has not been tested, maybe this |
88 |
# is uneeded ) |
89 |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
90 |
url => "https://forums.$domain/", |
91 |
vhost => "forums.$domain", |
92 |
use_ssl => true, |
93 |
} |
94 |
|
95 |
|
96 |
include libvirtd::kvm |
97 |
include lists |
98 |
include dns::server |
99 |
include repositories::mirror |
100 |
include viewvc |
101 |
include xymon::server |
102 |
apache::vhost_simple { "xymon.$domain": |
103 |
location => "/var/lib/xymon/www", |
104 |
} |
105 |
} |
106 |
|
107 |
# buildnode |
108 |
node jonund { |
109 |
# Location: IELO datacenter (marseille) |
110 |
# |
111 |
include default_mageia_server |
112 |
include buildsystem::buildnode |
113 |
timezone::timezone { "Europe/Paris": } |
114 |
include shorewall |
115 |
include shorewall::default_firewall |
116 |
include testvm |
117 |
} |
118 |
|
119 |
node ecosse { |
120 |
# Location: IELO datacenter (marseille) |
121 |
# |
122 |
include default_mageia_server |
123 |
include buildsystem::buildnode |
124 |
timezone::timezone { "Europe/Paris": } |
125 |
} |
126 |
|
127 |
# backup server |
128 |
node fiona { |
129 |
# Location: IELO datacenter (marseille) |
130 |
# |
131 |
# TODO: |
132 |
# - buy the server |
133 |
# - install the server in datacenter |
134 |
# - install a backup system |
135 |
include default_mageia_server |
136 |
} |
137 |
|
138 |
# gandi-vm |
139 |
node krampouezh { |
140 |
# Location: gandi VM |
141 |
# |
142 |
# TODO: |
143 |
# - secondary MX |
144 |
# - LDAP slave (for external traffic maybe) |
145 |
# |
146 |
#include default_mageia_server |
147 |
include default_mageia_server_no_smtp |
148 |
include postfix::secondary_smtp |
149 |
include blog::base |
150 |
include mysql::server |
151 |
include dns::server |
152 |
timezone::timezone { "Europe/Paris": } |
153 |
# Other services running on this server : |
154 |
# - meetbot |
155 |
} |
156 |
|
157 |
node champagne { |
158 |
# Location: gandi VM |
159 |
# |
160 |
# TODO: |
161 |
# - setup mageia.org web site |
162 |
# - setup blog |
163 |
# - setup planet |
164 |
# |
165 |
include default_mageia_server |
166 |
timezone::timezone { "Europe/Paris": } |
167 |
include blog::champagne |
168 |
include planet |
169 |
include websites::static |
170 |
} |
171 |
|
172 |
node friteuse { |
173 |
# Location: VM hosted by nfrance (toulouse) |
174 |
# |
175 |
# TODO: |
176 |
# - setup forum |
177 |
|
178 |
include default_mageia_server |
179 |
timezone::timezone { "Europe/Paris": } |
180 |
include forums |
181 |
} |
182 |
|
183 |
node rabbit { |
184 |
# Location: Server offered by Dedibox (paris) |
185 |
# |
186 |
# - used to create isos ( and live, and so on ) |
187 |
# |
188 |
include default_mageia_server |
189 |
timezone::timezone { "Europe/Paris": } |
190 |
include bcd::base |
191 |
include draklive::base |
192 |
include access_classes::iso_makers |
193 |
include openssh::ssh_keys_from_ldap |
194 |
include mirror::mirrormageia |
195 |
include releasekey::base |
196 |
|
197 |
# for testing iso quickly |
198 |
include libvirtd::kvm |
199 |
libvirtd::group_access { "mga-iso_makers": } |
200 |
} |