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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30