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_reverse_proxy { "forums.$domain": |
77 |
url => "http://forums.$domain/", |
78 |
} |
79 |
|
80 |
# connect to ssl so the proxy do not shoke if trying to |
81 |
# enforce ssl ( note that this has not been tested, maybe this |
82 |
# is uneeded ) |
83 |
apache::vhost_reverse_proxy { "ssl_forums.$domain": |
84 |
url => "https://forums.$domain/", |
85 |
vhost => "forums.$domain", |
86 |
use_ssl => true, |
87 |
} |
88 |
|
89 |
|
90 |
include libvirtd::kvm |
91 |
include lists |
92 |
include dns::server |
93 |
include repositories::mirror |
94 |
include viewvc |
95 |
include xymon::server |
96 |
apache::vhost_simple { "xymon.$domain": |
97 |
location => "/var/lib/xymon/www", |
98 |
} |
99 |
} |
100 |
|
101 |
# buildnode |
102 |
node jonund { |
103 |
# Location: IELO datacenter (marseille) |
104 |
# |
105 |
include default_mageia_server |
106 |
include buildsystem::buildnode |
107 |
timezone::timezone { "Europe/Paris": } |
108 |
include shorewall |
109 |
include shorewall::default_firewall |
110 |
include testvm |
111 |
} |
112 |
|
113 |
node ecosse { |
114 |
# Location: IELO datacenter (marseille) |
115 |
# |
116 |
include default_mageia_server |
117 |
include buildsystem::buildnode |
118 |
timezone::timezone { "Europe/Paris": } |
119 |
} |
120 |
|
121 |
# backup server |
122 |
node fiona { |
123 |
# Location: IELO datacenter (marseille) |
124 |
# |
125 |
# TODO: |
126 |
# - buy the server |
127 |
# - install the server in datacenter |
128 |
# - install a backup system |
129 |
include default_mageia_server |
130 |
} |
131 |
|
132 |
# gandi-vm |
133 |
node krampouezh { |
134 |
# Location: gandi VM |
135 |
# |
136 |
# TODO: |
137 |
# - secondary MX |
138 |
# - LDAP slave (for external traffic maybe) |
139 |
# |
140 |
#include default_mageia_server |
141 |
include default_mageia_server_no_smtp |
142 |
include postfix::secondary_smtp |
143 |
|
144 |
include dns::server |
145 |
timezone::timezone { "Europe/Paris": } |
146 |
# Other services running on this server : |
147 |
# - meetbot |
148 |
} |
149 |
|
150 |
node champagne { |
151 |
# Location: gandi VM |
152 |
# |
153 |
# TODO: |
154 |
# - setup mageia.org web site |
155 |
# - setup blog |
156 |
# |
157 |
include default_mageia_server |
158 |
timezone::timezone { "Europe/Paris": } |
159 |
include blog |
160 |
include planet |
161 |
include websites::static |
162 |
} |
163 |
|
164 |
node friteuse { |
165 |
# Location: VM hosted by nfrance (toulouse) |
166 |
# |
167 |
# TODO: |
168 |
# - setup forum |
169 |
|
170 |
include default_mageia_server |
171 |
timezone::timezone { "Europe/Paris": } |
172 |
include forums |
173 |
} |
174 |
|
175 |
node rabbit { |
176 |
# Location: Server offered by Dedibox (paris) |
177 |
# |
178 |
# - used to create isos ( and live, and so on ) |
179 |
# |
180 |
include default_mageia_server |
181 |
timezone::timezone { "Europe/Paris": } |
182 |
include bcd::base |
183 |
include access_classes::iso_makers |
184 |
include openssh::ssh_keys_from_ldap |
185 |
include mirror::mirrormageia |
186 |
|
187 |
# for testing iso quickly |
188 |
include libvirtd::kvm |
189 |
libvirtd::group_access { "mga-iso_makers": } |
190 |
} |