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

Annotation of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30