1 |
misc |
1433 |
# to not repeat the setting everywhere |
2 |
|
|
Exec { path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin/" } |
3 |
|
|
|
4 |
misc |
4 |
# svn, big important server |
5 |
|
|
node valstar { |
6 |
boklm |
49 |
# Location: IELO datacenter (marseille) |
7 |
|
|
# |
8 |
|
|
# TODO: |
9 |
|
|
# - GIT server |
10 |
|
|
# - setup youri |
11 |
|
|
# - setup maintainers database (with web interface) |
12 |
|
|
# - mirroring (Nanar) |
13 |
|
|
# |
14 |
misc |
1437 |
include common::default_mageia_server |
15 |
misc |
44 |
timezone::timezone { "Europe/Paris": } |
16 |
misc |
875 |
include main_mirror |
17 |
misc |
53 |
include openldap::master |
18 |
misc |
101 |
include subversion::client |
19 |
dmorgan |
131 |
include subversion::server |
20 |
misc |
155 |
include puppet::master |
21 |
blino |
370 |
include ssh::auth |
22 |
|
|
include ssh::auth::keymaster |
23 |
blino |
371 |
include buildsystem::mainnode |
24 |
boklm |
696 |
include buildsystem::mgacreatehome |
25 |
boklm |
1568 |
include buildsystem::sync20101 |
26 |
boklm |
1646 |
include buildsystem::release |
27 |
boklm |
1525 |
include softwarekey::base |
28 |
misc |
13 |
|
29 |
misc |
788 |
include access_classes::committers |
30 |
misc |
900 |
include restrictshell::allow_git |
31 |
misc |
440 |
include restrictshell::allow_svn |
32 |
blino |
499 |
include restrictshell::allow_pkgsubmit |
33 |
misc |
801 |
# disabled the ldap key here instead of disabling for the |
34 |
|
|
# whole module ( see r698 ) |
35 |
|
|
#include openssh::ssh_keys_from_ldap |
36 |
misc |
440 |
|
37 |
misc |
1705 |
include mirror::mdv2010spring |
38 |
boklm |
1341 |
|
39 |
misc |
753 |
include repositories::subversion |
40 |
misc |
900 |
include repositories::git |
41 |
misc |
676 |
|
42 |
misc |
956 |
include websites::svn |
43 |
|
|
|
44 |
misc |
101 |
subversion::snapshot { "/etc/puppet": |
45 |
misc |
456 |
source => "svn://svn.mageia.org/svn/adm/puppet/" |
46 |
misc |
6 |
} |
47 |
misc |
4 |
} |
48 |
boklm |
3 |
|
49 |
misc |
4 |
# web apps |
50 |
|
|
node alamut { |
51 |
boklm |
49 |
# Location: IELO datacenter (marseille) |
52 |
|
|
# |
53 |
|
|
# TODO: |
54 |
dmorgan |
186 |
# - Review board |
55 |
boklm |
49 |
# - nagios |
56 |
|
|
# - api |
57 |
|
|
# - mail server |
58 |
|
|
# - mailing list server |
59 |
|
|
# - wiki |
60 |
misc |
193 |
# - pastebin |
61 |
boklm |
49 |
# - LDAP slave |
62 |
|
|
# |
63 |
misc |
1437 |
include common::default_mageia_server_no_smtp |
64 |
misc |
526 |
include postgresql::server |
65 |
misc |
44 |
timezone::timezone { "Europe/Paris": } |
66 |
misc |
92 |
|
67 |
|
|
include catdap |
68 |
misc |
665 |
include websites::donate |
69 |
nanardon |
102 |
include mga-mirrors |
70 |
nanardon |
119 |
include epoll |
71 |
dmorgan |
178 |
include transifex |
72 |
dmorgan |
289 |
include bugzilla |
73 |
misc |
558 |
include sympa::server |
74 |
|
|
include postfix::primary_smtp |
75 |
misc |
882 |
|
76 |
|
|
# temporary, just the time the vm is running there |
77 |
|
|
host { 'friteuse': |
78 |
|
|
ip => '192.168.122.131', |
79 |
misc |
1163 |
host_aliases => [ "friteuse.$domain", "forums.$domain" ], |
80 |
misc |
882 |
ensure => 'present', |
81 |
|
|
} |
82 |
misc |
1163 |
|
83 |
misc |
1538 |
# to create all phpbb database on alamut |
84 |
|
|
phpbb::databases { $fqdn: } |
85 |
|
|
|
86 |
boklm |
1318 |
apache::vhost_redirect_ssl { "forums.$domain": } |
87 |
boklm |
1322 |
apache::vhost_redirect { "forum.$domain": |
88 |
boklm |
1320 |
url => "https://forums.$domain/", |
89 |
|
|
} |
90 |
boklm |
1322 |
apache::vhost_redirect { "ssl_forum.$domain": |
91 |
boklm |
1320 |
url => "https://forums.$domain/", |
92 |
|
|
vhost => "forum.$domain", |
93 |
|
|
use_ssl => true, |
94 |
|
|
} |
95 |
misc |
1163 |
|
96 |
misc |
1171 |
# connect to ssl so the proxy do not shoke if trying to |
97 |
|
|
# enforce ssl ( note that this has not been tested, maybe this |
98 |
|
|
# is uneeded ) |
99 |
misc |
1163 |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
100 |
misc |
1171 |
url => "https://forums.$domain/", |
101 |
misc |
1163 |
vhost => "forums.$domain", |
102 |
|
|
use_ssl => true, |
103 |
|
|
} |
104 |
|
|
|
105 |
|
|
|
106 |
misc |
984 |
include libvirtd::kvm |
107 |
misc |
743 |
include lists |
108 |
misc |
775 |
include dns::server |
109 |
misc |
889 |
include repositories::mirror |
110 |
misc |
892 |
include viewvc |
111 |
buchan |
1251 |
include xymon::server |
112 |
buchan |
1252 |
apache::vhost_simple { "xymon.$domain": |
113 |
|
|
location => "/var/lib/xymon/www", |
114 |
|
|
} |
115 |
pterjan |
1447 |
include youri-check::report |
116 |
boklm |
3 |
} |
117 |
|
|
|
118 |
misc |
4 |
# buildnode |
119 |
|
|
node jonund { |
120 |
boklm |
49 |
# Location: IELO datacenter (marseille) |
121 |
|
|
# |
122 |
misc |
1437 |
include common::default_mageia_server |
123 |
blino |
346 |
include buildsystem::buildnode |
124 |
boklm |
1489 |
include buildsystem::iurt20101 |
125 |
misc |
44 |
timezone::timezone { "Europe/Paris": } |
126 |
boklm |
250 |
include shorewall |
127 |
boklm |
244 |
include shorewall::default_firewall |
128 |
boklm |
358 |
include testvm |
129 |
misc |
4 |
} |
130 |
boklm |
3 |
|
131 |
misc |
4 |
node ecosse { |
132 |
boklm |
49 |
# Location: IELO datacenter (marseille) |
133 |
|
|
# |
134 |
misc |
1437 |
include common::default_mageia_server |
135 |
misc |
213 |
include buildsystem::buildnode |
136 |
misc |
44 |
timezone::timezone { "Europe/Paris": } |
137 |
boklm |
3 |
} |
138 |
|
|
|
139 |
misc |
4 |
# backup server |
140 |
|
|
node fiona { |
141 |
boklm |
49 |
# Location: IELO datacenter (marseille) |
142 |
|
|
# |
143 |
|
|
# TODO: |
144 |
|
|
# - buy the server |
145 |
|
|
# - install the server in datacenter |
146 |
misc |
193 |
# - install a backup system |
147 |
misc |
1437 |
include common::default_mageia_server |
148 |
misc |
4 |
} |
149 |
|
|
|
150 |
|
|
# gandi-vm |
151 |
|
|
node krampouezh { |
152 |
boklm |
49 |
# Location: gandi VM |
153 |
|
|
# |
154 |
|
|
# TODO: |
155 |
|
|
# - secondary MX |
156 |
|
|
# - LDAP slave (for external traffic maybe) |
157 |
|
|
# |
158 |
misc |
1437 |
#include common::default_mageia_server |
159 |
|
|
include common::default_mageia_server_no_smtp |
160 |
misc |
896 |
include postfix::secondary_smtp |
161 |
dams |
1266 |
include blog::base |
162 |
dams |
1329 |
include blog::db_backup |
163 |
dams |
1262 |
include mysql::server |
164 |
misc |
775 |
include dns::server |
165 |
misc |
44 |
timezone::timezone { "Europe/Paris": } |
166 |
misc |
1665 |
|
167 |
|
|
openldap::slave_instance { "1": |
168 |
|
|
rid => 1, |
169 |
|
|
} |
170 |
|
|
|
171 |
boklm |
49 |
# Other services running on this server : |
172 |
|
|
# - meetbot |
173 |
misc |
4 |
} |
174 |
|
|
|
175 |
|
|
node champagne { |
176 |
boklm |
49 |
# Location: gandi VM |
177 |
|
|
# |
178 |
|
|
# TODO: |
179 |
|
|
# - setup mageia.org web site |
180 |
|
|
# - setup blog |
181 |
dams |
1260 |
# - setup planet |
182 |
boklm |
49 |
# |
183 |
misc |
1437 |
include common::default_mageia_server |
184 |
dams |
276 |
timezone::timezone { "Europe/Paris": } |
185 |
dams |
1329 |
include blog::files-bots |
186 |
dams |
1427 |
include blog::files_backup |
187 |
dams |
910 |
include planet |
188 |
boklm |
1011 |
include websites::static |
189 |
boklm |
1584 |
include websites::hugs |
190 |
boklm |
1593 |
include websites::releases |
191 |
boklm |
1637 |
include access_classes::web |
192 |
|
|
include openssh::ssh_keys_from_ldap |
193 |
misc |
4 |
} |
194 |
|
|
|
195 |
misc |
586 |
node friteuse { |
196 |
misc |
751 |
# Location: VM hosted by nfrance (toulouse) |
197 |
misc |
586 |
# |
198 |
|
|
# TODO: |
199 |
|
|
# - setup forum |
200 |
misc |
4 |
|
201 |
misc |
1437 |
include common::default_mageia_server |
202 |
misc |
586 |
timezone::timezone { "Europe/Paris": } |
203 |
misc |
1155 |
include forums |
204 |
misc |
586 |
} |
205 |
misc |
751 |
|
206 |
|
|
node rabbit { |
207 |
|
|
# Location: Server offered by Dedibox (paris) |
208 |
|
|
# |
209 |
misc |
782 |
# - used to create isos ( and live, and so on ) |
210 |
|
|
# |
211 |
misc |
1437 |
include common::default_mageia_server |
212 |
misc |
751 |
timezone::timezone { "Europe/Paris": } |
213 |
boklm |
850 |
include bcd::base |
214 |
boklm |
1463 |
include bcd::web |
215 |
boklm |
1548 |
include bcd::rsync |
216 |
blino |
1314 |
include draklive::base |
217 |
misc |
788 |
include access_classes::iso_makers |
218 |
misc |
825 |
include openssh::ssh_keys_from_ldap |
219 |
misc |
1705 |
include mirror::mageia |
220 |
|
|
include mirror::newrelease |
221 |
boklm |
1297 |
include releasekey::base |
222 |
pterjan |
1368 |
include youri-check::check |
223 |
misc |
986 |
|
224 |
misc |
982 |
# for testing iso quickly |
225 |
misc |
984 |
include libvirtd::kvm |
226 |
misc |
987 |
libvirtd::group_access { "mga-iso_makers": } |
227 |
misc |
1423 |
|
228 |
|
|
# to ease the creation of test iso |
229 |
|
|
$netinst_iso_path = "/var/lib/libvirt/netboot" |
230 |
|
|
|
231 |
misc |
1424 |
file { $netinst_iso_path: |
232 |
|
|
ensure => directory, |
233 |
|
|
} |
234 |
|
|
|
235 |
misc |
1423 |
libvirtd::storage { "netinst_iso": |
236 |
|
|
path => $netinst_iso_path, |
237 |
misc |
1424 |
require => File[$netinst_iso_path], |
238 |
misc |
1423 |
} |
239 |
|
|
|
240 |
misc |
1472 |
include auto_installation::download |
241 |
|
|
auto_installation::download::netboot_images { "mandriva": |
242 |
misc |
1423 |
path => $netinst_iso_path, |
243 |
|
|
versions => ["2010.0","2010.1"], |
244 |
|
|
archs => ['i586','x86_64'], |
245 |
|
|
mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", |
246 |
|
|
files => ['boot.iso'], |
247 |
misc |
1424 |
require => File[$netinst_iso_path], |
248 |
misc |
1423 |
} |
249 |
|
|
|
250 |
misc |
1476 |
# for testing pxe support of libvirt |
251 |
|
|
libvirtd::network {"pxe_network": |
252 |
|
|
network => "192.168.123.0/24", |
253 |
misc |
1478 |
tftp_root => $auto_installation::variables::pxe_dir, |
254 |
misc |
1477 |
bridge_name => "virbr1", |
255 |
misc |
1476 |
} |
256 |
|
|
|
257 |
|
|
include auto_installation::pxe_menu |
258 |
|
|
auto_installation::mandriva_installation_entry { "pxe_test": |
259 |
|
|
version => "2010.1", |
260 |
|
|
arch => "i586", |
261 |
|
|
} |
262 |
misc |
751 |
} |