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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30