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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30