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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1889 - (hide annotations) (download)
Thu Jul 21 01:46:56 2011 UTC (12 years, 8 months ago) by misc
File size: 6613 byte(s)
clean old comments
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 maintainers database (with web interface)
11     #
12 misc 1437 include common::default_mageia_server
13 misc 44 timezone::timezone { "Europe/Paris": }
14 misc 875 include main_mirror
15 misc 53 include openldap::master
16 misc 101 include subversion::client
17 dmorgan 131 include subversion::server
18 misc 155 include puppet::master
19 blino 370 include ssh::auth
20     include ssh::auth::keymaster
21 blino 371 include buildsystem::mainnode
22 boklm 696 include buildsystem::mgacreatehome
23 boklm 1568 include buildsystem::sync20101
24 boklm 1646 include buildsystem::release
25 boklm 1830 include buildsystem::maintdb
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 boklm 1845 include restrictshell::allow_maintdb
33 misc 801 # disabled the ldap key here instead of disabling for the
34     # whole module ( see r698 )
35 boklm 1720 class { "openssh::ssh_keys_from_ldap":
36 boklm 1718 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 # - api
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 1756 postgresql::tagged { "default": }
65    
66 misc 44 timezone::timezone { "Europe/Paris": }
67 misc 92
68     include catdap
69 nanardon 102 include mga-mirrors
70 nanardon 119 include epoll
71 dmorgan 178 include transifex
72 dmorgan 289 include bugzilla
73 misc 558 include sympa::server
74     include postfix::primary_smtp
75 misc 882
76     # temporary, just the time the vm is running there
77     host { 'friteuse':
78     ip => '192.168.122.131',
79 misc 1163 host_aliases => [ "friteuse.$domain", "forums.$domain" ],
80 misc 882 ensure => 'present',
81     }
82 misc 1163
83 misc 1538 # to create all phpbb database on alamut
84     phpbb::databases { $fqdn: }
85    
86 boklm 1318 apache::vhost_redirect_ssl { "forums.$domain": }
87 boklm 1322 apache::vhost_redirect { "forum.$domain":
88 boklm 1320 url => "https://forums.$domain/",
89     }
90 boklm 1322 apache::vhost_redirect { "ssl_forum.$domain":
91 boklm 1320 url => "https://forums.$domain/",
92     vhost => "forum.$domain",
93     use_ssl => true,
94     }
95 misc 1163
96 misc 1171 # connect to ssl so the proxy do not shoke if trying to
97     # enforce ssl ( note that this has not been tested, maybe this
98     # is uneeded )
99 misc 1163 apache::vhost_reverse_proxy { "ssl_forums.$domain":
100 misc 1171 url => "https://forums.$domain/",
101 misc 1163 vhost => "forums.$domain",
102     use_ssl => true,
103     }
104    
105 misc 1803 include tld_redirections
106 misc 1163
107 misc 984 include libvirtd::kvm
108 misc 743 include lists
109 misc 775 include dns::server
110 misc 1861 include repositories::svn_mirror
111 misc 892 include viewvc
112 misc 1863
113 misc 1876 # disabled until fixed
114     #include repositories::git_mirror
115 misc 1864 include gitweb
116 misc 1863
117 buchan 1251 include xymon::server
118 buchan 1252 apache::vhost_simple { "xymon.$domain":
119     location => "/var/lib/xymon/www",
120     }
121 pterjan 1447 include youri-check::report
122 boklm 3 }
123    
124 misc 4 # buildnode
125     node jonund {
126 boklm 49 # Location: IELO datacenter (marseille)
127     #
128 misc 1437 include common::default_mageia_server
129 blino 346 include buildsystem::buildnode
130 boklm 1489 include buildsystem::iurt20101
131 misc 44 timezone::timezone { "Europe/Paris": }
132 boklm 250 include shorewall
133 boklm 244 include shorewall::default_firewall
134 boklm 358 include testvm
135 misc 4 }
136 boklm 3
137 misc 4 node ecosse {
138 boklm 49 # Location: IELO datacenter (marseille)
139     #
140 misc 1437 include common::default_mageia_server
141 misc 213 include buildsystem::buildnode
142 misc 44 timezone::timezone { "Europe/Paris": }
143 boklm 3 }
144    
145 misc 4 # backup server
146     node fiona {
147 boklm 49 # Location: IELO datacenter (marseille)
148     #
149     # TODO:
150     # - buy the server
151     # - install the server in datacenter
152 misc 193 # - install a backup system
153 misc 1437 include common::default_mageia_server
154 misc 1888 timezone::timezone { "Europe/Paris": }
155 misc 4 }
156    
157     # gandi-vm
158     node krampouezh {
159 boklm 49 # Location: gandi VM
160     #
161     #
162 misc 1437 #include common::default_mageia_server
163     include common::default_mageia_server_no_smtp
164 misc 896 include postfix::secondary_smtp
165 dams 1266 include blog::base
166 dams 1329 include blog::db_backup
167 dams 1262 include mysql::server
168 misc 775 include dns::server
169 misc 44 timezone::timezone { "Europe/Paris": }
170 misc 1665
171     openldap::slave_instance { "1":
172     rid => 1,
173     }
174    
175 boklm 49 # Other services running on this server :
176     # - meetbot
177 misc 4 }
178    
179     node champagne {
180 boklm 49 # Location: gandi VM
181     #
182     # TODO:
183     # - setup mageia.org web site
184     #
185 misc 1437 include common::default_mageia_server
186 dams 276 timezone::timezone { "Europe/Paris": }
187 dams 1329 include blog::files-bots
188 dams 1427 include blog::files_backup
189 dams 910 include planet
190 boklm 1011 include websites::static
191 boklm 1584 include websites::hugs
192 boklm 1593 include websites::releases
193 boklm 1778 include dashboard::base
194 boklm 1637 include access_classes::web
195     include openssh::ssh_keys_from_ldap
196 misc 4 }
197    
198 misc 586 node friteuse {
199 misc 751 # Location: VM hosted by nfrance (toulouse)
200 misc 586 #
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