/[adm]/puppet/manifests/nodes.pp
ViewVC logotype

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30