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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30