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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1538 - (hide annotations) (download)
Tue Apr 19 11:45:26 2011 UTC (12 years, 11 months ago) by misc
File size: 6219 byte(s)
add a type to fetch remote databases for forums

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

  ViewVC Help
Powered by ViewVC 1.1.30