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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1476 - (hide annotations) (download)
Tue Apr 5 02:15:46 2011 UTC (12 years, 11 months ago) by misc
File size: 6073 byte(s)
- deploy pxe_menu on rabbit ( as I cannot test virtualisation on a vm
in a vm ), with mandriva installer as a test
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 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 boklm 1318 apache::vhost_redirect_ssl { "forums.$domain": }
82 boklm 1322 apache::vhost_redirect { "forum.$domain":
83 boklm 1320 url => "https://forums.$domain/",
84     }
85 boklm 1322 apache::vhost_redirect { "ssl_forum.$domain":
86 boklm 1320 url => "https://forums.$domain/",
87     vhost => "forum.$domain",
88     use_ssl => true,
89     }
90 misc 1163
91 misc 1171 # connect to ssl so the proxy do not shoke if trying to
92     # enforce ssl ( note that this has not been tested, maybe this
93     # is uneeded )
94 misc 1163 apache::vhost_reverse_proxy { "ssl_forums.$domain":
95 misc 1171 url => "https://forums.$domain/",
96 misc 1163 vhost => "forums.$domain",
97     use_ssl => true,
98     }
99    
100    
101 misc 984 include libvirtd::kvm
102 misc 743 include lists
103 misc 775 include dns::server
104 misc 889 include repositories::mirror
105 misc 892 include viewvc
106 buchan 1251 include xymon::server
107 buchan 1252 apache::vhost_simple { "xymon.$domain":
108     location => "/var/lib/xymon/www",
109     }
110 pterjan 1447 include youri-check::report
111 boklm 3 }
112    
113 misc 4 # buildnode
114     node jonund {
115 boklm 49 # Location: IELO datacenter (marseille)
116     #
117 misc 1437 include common::default_mageia_server
118 blino 346 include buildsystem::buildnode
119 misc 44 timezone::timezone { "Europe/Paris": }
120 boklm 250 include shorewall
121 boklm 244 include shorewall::default_firewall
122 boklm 358 include testvm
123 misc 4 }
124 boklm 3
125 misc 4 node ecosse {
126 boklm 49 # Location: IELO datacenter (marseille)
127     #
128 misc 1437 include common::default_mageia_server
129 misc 213 include buildsystem::buildnode
130 misc 44 timezone::timezone { "Europe/Paris": }
131 boklm 3 }
132    
133 misc 4 # backup server
134     node fiona {
135 boklm 49 # Location: IELO datacenter (marseille)
136     #
137     # TODO:
138     # - buy the server
139     # - install the server in datacenter
140 misc 193 # - install a backup system
141 misc 1437 include common::default_mageia_server
142 misc 4 }
143    
144     # gandi-vm
145     node krampouezh {
146 boklm 49 # Location: gandi VM
147     #
148     # TODO:
149     # - secondary MX
150     # - LDAP slave (for external traffic maybe)
151     #
152 misc 1437 #include common::default_mageia_server
153     include common::default_mageia_server_no_smtp
154 misc 896 include postfix::secondary_smtp
155 dams 1266 include blog::base
156 dams 1329 include blog::db_backup
157 dams 1262 include mysql::server
158 misc 775 include dns::server
159 misc 44 timezone::timezone { "Europe/Paris": }
160 boklm 49 # Other services running on this server :
161     # - meetbot
162 misc 4 }
163    
164     node champagne {
165 boklm 49 # Location: gandi VM
166     #
167     # TODO:
168     # - setup mageia.org web site
169     # - setup blog
170 dams 1260 # - setup planet
171 boklm 49 #
172 misc 1437 include common::default_mageia_server
173 dams 276 timezone::timezone { "Europe/Paris": }
174 dams 1329 include blog::files-bots
175 dams 1427 include blog::files_backup
176 dams 910 include planet
177 boklm 1011 include websites::static
178 misc 4 }
179    
180 misc 586 node friteuse {
181 misc 751 # Location: VM hosted by nfrance (toulouse)
182 misc 586 #
183     # TODO:
184     # - setup forum
185 misc 4
186 misc 1437 include common::default_mageia_server
187 misc 586 timezone::timezone { "Europe/Paris": }
188 misc 1155 include forums
189 misc 586 }
190 misc 751
191     node rabbit {
192     # Location: Server offered by Dedibox (paris)
193     #
194 misc 782 # - used to create isos ( and live, and so on )
195     #
196 misc 1437 include common::default_mageia_server
197 misc 751 timezone::timezone { "Europe/Paris": }
198 boklm 850 include bcd::base
199 boklm 1463 include bcd::web
200 blino 1314 include draklive::base
201 misc 788 include access_classes::iso_makers
202 misc 825 include openssh::ssh_keys_from_ldap
203 boklm 846 include mirror::mirrormageia
204 boklm 1297 include releasekey::base
205 pterjan 1368 include youri-check::check
206 misc 986
207 misc 982 # for testing iso quickly
208 misc 984 include libvirtd::kvm
209 misc 987 libvirtd::group_access { "mga-iso_makers": }
210 misc 1423
211     # to ease the creation of test iso
212     $netinst_iso_path = "/var/lib/libvirt/netboot"
213    
214 misc 1424 file { $netinst_iso_path:
215     ensure => directory,
216     }
217    
218 misc 1423 libvirtd::storage { "netinst_iso":
219     path => $netinst_iso_path,
220 misc 1424 require => File[$netinst_iso_path],
221 misc 1423 }
222    
223 misc 1472 include auto_installation::download
224     auto_installation::download::netboot_images { "mandriva":
225 misc 1423 path => $netinst_iso_path,
226     versions => ["2010.0","2010.1"],
227     archs => ['i586','x86_64'],
228     mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/",
229     files => ['boot.iso'],
230 misc 1424 require => File[$netinst_iso_path],
231 misc 1423 }
232    
233 misc 1476 # for testing pxe support of libvirt
234     libvirtd::network {"pxe_network":
235     network => "192.168.123.0/24",
236     tftp_root => auto_installation::variables::pxe_dir
237     bridge_name => "virbr1"
238     }
239    
240     include auto_installation::pxe_menu
241     auto_installation::mandriva_installation_entry { "pxe_test":
242     version => "2010.1",
243     arch => "i586",
244     }
245 misc 751 }

  ViewVC Help
Powered by ViewVC 1.1.30