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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2302 - (hide annotations) (download)
Mon Jan 16 16:08:45 2012 UTC (12 years, 2 months ago) by misc
File size: 6938 byte(s)
add default config on every server

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

  ViewVC Help
Powered by ViewVC 1.1.30