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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30