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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2033 - (hide annotations) (download)
Wed Oct 12 17:49:30 2011 UTC (12 years, 5 months ago) by boklm
File size: 6827 byte(s)
add wikis on alamut
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 maintainers database (with web interface)
11     #
12 misc 1437 include common::default_mageia_server
13 misc 44 timezone::timezone { "Europe/Paris": }
14 misc 875 include main_mirror
15 misc 53 include openldap::master
16 misc 101 include subversion::client
17 dmorgan 131 include subversion::server
18 misc 155 include puppet::master
19 blino 370 include ssh::auth
20     include ssh::auth::keymaster
21 blino 371 include buildsystem::mainnode
22 boklm 696 include buildsystem::mgacreatehome
23 boklm 1568 include buildsystem::sync20101
24 boklm 1646 include buildsystem::release
25 boklm 1830 include buildsystem::maintdb
26 boklm 1928 include buildsystem::binrepo
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 boklm 1845 include restrictshell::allow_maintdb
34 boklm 1940 include restrictshell::allow_upload_bin
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 boklm 2021 include repositories::sparkleshare
46 misc 676
47 misc 956 include websites::svn
48    
49 misc 101 subversion::snapshot { "/etc/puppet":
50 misc 456 source => "svn://svn.mageia.org/svn/adm/puppet/"
51 misc 6 }
52 misc 1899
53     mirror_cleaner::orphans { "cauldron":
54     base => "/distrib/bootstrap/distrib/",
55     }
56    
57 misc 4 }
58 boklm 3
59 misc 4 # web apps
60     node alamut {
61 boklm 49 # Location: IELO datacenter (marseille)
62     #
63     # TODO:
64 dmorgan 186 # - Review board
65 boklm 49 # - api
66     # - wiki
67 misc 193 # - pastebin
68 boklm 49 # - LDAP slave
69     #
70 misc 1437 include common::default_mageia_server_no_smtp
71 misc 526 include postgresql::server
72 misc 1756 postgresql::tagged { "default": }
73    
74 misc 44 timezone::timezone { "Europe/Paris": }
75 misc 92
76     include catdap
77 nanardon 102 include mga-mirrors
78 nanardon 119 include epoll
79 dmorgan 178 include transifex
80 dmorgan 289 include bugzilla
81 misc 558 include sympa::server
82     include postfix::primary_smtp
83 misc 882
84     # temporary, just the time the vm is running there
85     host { 'friteuse':
86     ip => '192.168.122.131',
87 misc 1163 host_aliases => [ "friteuse.$domain", "forums.$domain" ],
88 misc 882 ensure => 'present',
89     }
90 misc 1163
91 misc 1538 # to create all phpbb database on alamut
92     phpbb::databases { $fqdn: }
93    
94 boklm 1318 apache::vhost_redirect_ssl { "forums.$domain": }
95 boklm 1322 apache::vhost_redirect { "forum.$domain":
96 boklm 1320 url => "https://forums.$domain/",
97     }
98 boklm 1322 apache::vhost_redirect { "ssl_forum.$domain":
99 boklm 1320 url => "https://forums.$domain/",
100     vhost => "forum.$domain",
101     use_ssl => true,
102     }
103 misc 1163
104 misc 1171 # connect to ssl so the proxy do not shoke if trying to
105     # enforce ssl ( note that this has not been tested, maybe this
106     # is uneeded )
107 misc 1163 apache::vhost_reverse_proxy { "ssl_forums.$domain":
108 misc 1171 url => "https://forums.$domain/",
109 misc 1163 vhost => "forums.$domain",
110     use_ssl => true,
111     }
112    
113 misc 1803 include tld_redirections
114 misc 1163
115 misc 984 include libvirtd::kvm
116 misc 743 include lists
117 misc 775 include dns::server
118 misc 1861 include repositories::svn_mirror
119 misc 892 include viewvc
120 misc 1863
121 misc 1876 # disabled until fixed
122     #include repositories::git_mirror
123 misc 1864 include gitweb
124 misc 1863
125 buchan 1251 include xymon::server
126 buchan 1252 apache::vhost_simple { "xymon.$domain":
127     location => "/var/lib/xymon/www",
128     }
129 pterjan 1447 include youri-check::report
130 boklm 2033
131     include wikis
132 boklm 3 }
133    
134 misc 4 # buildnode
135     node jonund {
136 boklm 49 # Location: IELO datacenter (marseille)
137     #
138 misc 1437 include common::default_mageia_server
139 blino 346 include buildsystem::buildnode
140 boklm 1489 include buildsystem::iurt20101
141 misc 44 timezone::timezone { "Europe/Paris": }
142 boklm 250 include shorewall
143 boklm 244 include shorewall::default_firewall
144 misc 4 }
145 boklm 3
146 misc 4 node ecosse {
147 boklm 49 # Location: IELO datacenter (marseille)
148     #
149 misc 1437 include common::default_mageia_server
150 misc 213 include buildsystem::buildnode
151 misc 44 timezone::timezone { "Europe/Paris": }
152 boklm 3 }
153    
154 misc 4 # backup server
155     node fiona {
156 boklm 49 # Location: IELO datacenter (marseille)
157     #
158     # TODO:
159     # - buy the server
160     # - install the server in datacenter
161 misc 193 # - install a backup system
162 misc 1437 include common::default_mageia_server
163 misc 1888 timezone::timezone { "Europe/Paris": }
164 misc 4 }
165    
166     # gandi-vm
167     node krampouezh {
168 boklm 49 # Location: gandi VM
169     #
170     #
171 misc 1437 #include common::default_mageia_server
172     include common::default_mageia_server_no_smtp
173 misc 896 include postfix::secondary_smtp
174 dams 1266 include blog::base
175 dams 1329 include blog::db_backup
176 dams 1262 include mysql::server
177 misc 775 include dns::server
178 misc 44 timezone::timezone { "Europe/Paris": }
179 misc 1665
180     openldap::slave_instance { "1":
181     rid => 1,
182     }
183    
184 boklm 49 # Other services running on this server :
185     # - meetbot
186 misc 4 }
187    
188     node champagne {
189 boklm 49 # Location: gandi VM
190     #
191     # TODO:
192     # - setup mageia.org web site
193     #
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 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     libvirtd::network {"pxe_network":
262     network => "192.168.123.0/24",
263 misc 1478 tftp_root => $auto_installation::variables::pxe_dir,
264 misc 1477 bridge_name => "virbr1",
265 misc 1476 }
266    
267     include auto_installation::pxe_menu
268     auto_installation::mandriva_installation_entry { "pxe_test":
269     version => "2010.1",
270     arch => "i586",
271     }
272 misc 751 }

  ViewVC Help
Powered by ViewVC 1.1.30