Expose software type separately from partition parameters.
[slapos.git] / software / erp5 / software.cfg
1 [buildout]
2 extends =
3   ../../stack/shacache-client.cfg
4   ../../stack/erp5.cfg
5
6 versions = versions
7
8 # Local development
9 develop =
10   ${:parts-directory}/slapos.cookbook-repository
11   ${:parts-directory}/cloudooo-repository
12
13 parts +=
14 # Local development
15   slapos.cookbook-repository
16   check-recipe
17   slapos.cookbook-python2.6
18   slapos.recipe.template-python2.6
19 # Create instance template
20   template
21
22 # XXX: Workaround of SlapOS limitation
23 # Unzippig of eggs is required, as SlapOS do not yet provide nicely working
24 # development / fast switching environment for whole software
25 unzip = true
26
27 # Local development
28 [slapos.cookbook-repository]
29 recipe = plone.recipe.command
30 stop-on-error = true
31 branch = erp5-component
32 revision =
33 location = ${buildout:parts-directory}/${:_buildout_section_name_}
34 command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
35 update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
36
37 [check-recipe]
38 recipe = plone.recipe.command
39 stop-on-error = true
40 update-command = ${:command}
41 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
42
43 [slapos.cookbook-python2.6]
44 recipe = zc.recipe.egg
45 eggs = slapos.cookbook
46 scripts =
47 python = python2.6
48 ugly-depend-on = ${slapos.cookbook-repository:command} ${slapos.cookbook-repository:update-command}
49
50 [slapos.recipe.template-python2.6]
51 recipe = zc.recipe.egg
52 eggs = slapos.recipe.template
53 scripts =
54 python = python2.6
55
56 [template-jinja2-base]
57 recipe = slapos.recipe.template:jinja2
58 template = ${:_profile_base_location_}/${:filename}.in
59 rendered = ${buildout:directory}/${:filename}
60 # XXX: extra-context is needed because we cannot append to a key of an extended
61 # section.
62 extra-context =
63 context =
64     key bin_directory buildout:bin-directory
65     key develop_eggs_directory buildout:develop-eggs-directory
66     key eggs_directory buildout:eggs-directory
67     ${:extra-context}
68
69 [template-mariadb]
70 < = template-jinja2-base
71 filename = instance-mariadb.cfg
72 md5sum = bcaee4e52a4332451b15fb38ecb12a2b
73 extra-context =
74     key coreutils_location coreutils:location
75     key dcron_location dcron:location
76     key gettext_location gettext:location
77     key grep_location grep:location
78     key gzip_location gzip:location
79     key logrotate_location logrotate:location
80     key mariadb_location mariadb:location
81     key perl_location perl:location
82     key perl_siteprefix perl:siteprefix
83     key sed_location sed:location
84     key xtrabackup_location xtrabackup:location
85
86 [template-sphinx]
87 < = template-jinja2-base
88 filename = instance-sphinx.cfg
89 md5sum = e3975afd5220f251d6b6e7024a2ca08b
90 extra-context =
91     key sphinx_location sphinx:location
92
93 [template-zope]
94 < = template-jinja2-base
95 filename = instance-zope.cfg
96 md5sum = e00efeefd2d1c09374b169c9d218e137
97 extra-context =
98     key apache_location apache:location
99     key aspell_location aspell:location
100     key coreutils_location coreutils:location
101     key dcron_location dcron:location
102     key dmtx_utils_location dmtx-utils:location
103     key erp5_location erp5:location
104     key git_location git:location
105     key graphviz_location graphviz:location
106     key grep_location grep:location
107     key gzip_location gzip:location
108     key imagemagick_location imagemagick:location
109     key librsvg_location librsvg:location
110     key logrotate_location logrotate:location
111     key mariadb_location mariadb:location
112     key openssl_location openssl:location
113     key pdftk_location pdftk:location
114     key poppler_location poppler:location
115     key products_list products:list
116     key sed_location sed:location
117     key tesseract_location tesseract:location
118     key w3m_location w3m:location
119
120 [template-kumofs]
121 < = template-jinja2-base
122 filename = instance-kumofs.cfg
123 md5sum = 700ee7769c89e0959dc3f052e55ada6e
124 extra-context =
125     key dash_location dash:location
126     key dcron_location dcron:location
127     key gzip_location gzip:location
128     key kumo_location kumo:location
129     key logrotate_location logrotate:location
130
131
132 [template-tidstorage]
133 recipe = slapos.recipe.build:download
134 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
135 md5sum = eeea27e691d80c1dd605ad99cfbba3c3
136 mode = 640
137
138 [template-cloudooo]
139 recipe = slapos.recipe.build:download
140 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
141 md5sum = d3b3afac9099823ba2853070324a29c8
142 mode = 640
143
144 # Additional Configuration
145 configurator_bt5_list = erp5_core_proxy_field_legacy erp5_full_text_myisam_catalog erp5_base erp5_workflow erp5_configurator erp5_configurator_standard erp5_configurator_maxma_demo erp5_configurator_ung
146
147 [template]
148 < = template-jinja2-base
149 # XXX: "template.cfg" is hardcoded in instanciation recipe
150 filename = template.cfg
151 template = ${:_profile_base_location_}/instance.cfg.in
152 md5sum = 0f3dcf0e156025d6b8f5f3efdd161282
153 extra-context =
154     key apache_location apache:location
155     key aspell_location aspell:location
156     key buildout_bin_directory buildout:bin-directory
157     key coreutils_location coreutils:location
158     key dcron_location dcron:location
159     key dmtx_utils_location dmtx-utils:location
160     key file_location file:location
161     key fontconfig_location fontconfig:location
162     key fonts_location fonts:location
163     key freetype_location freetype:location
164     key git_location git:location
165     key graphviz_location graphviz:location
166     key grep_location grep:location
167     key gzip_location gzip:location
168     key haproxy_location haproxy:location
169     key imagemagick_location imagemagick:location
170     key librsvg_location librsvg:location
171     key libICE_location libICE:location
172     key libSM_location libSM:location
173     key libX11_location libX11:location
174     key libXau_location libXau:location
175     key libXdmcp_location libXdmcp:location
176     key libXext_location libXext:location
177     key libXrender_location libXrender:location
178     key libpng12_location libpng12:location
179     key libreoffice_bin_location libreoffice-bin:location
180     key libxcb_location libxcb:location
181     key logrotate_location logrotate:location
182     key mariadb_location mariadb:location
183     key openssl_location openssl:location
184     key pdftk_location pdftk:location
185     key poppler_location poppler:location
186     key product_list products:list
187     key sed_location sed:location
188     key template_erp5_development template-erp5-development:rendered
189     key template_erp5_production template-erp5-production:rendered
190     key template_kumofs template-kumofs:rendered
191     key template_mariadb template-mariadb:rendered
192     key template_memcached template-memcached:rendered
193     key template_cloudooo template-cloudooo:target
194     key template_sphinx template-sphinx:rendered
195     key template_tidstorage template-tidstorage:target
196     key template_varnish template-varnish:target
197     key template_zope template-zope:rendered
198     key tesseract_location tesseract:location
199     key w3m_location w3m:location
200     key zlib_location zlib:location
201     key dash_location dash:location
202     key varnish_location varnish-3.0:location
203     key wget_location wget:location
204
205 [template-memcached]
206 < = template-jinja2-base
207 filename = instance-memcached.cfg
208 md5sum = 395779dc578e2527cb0d89c5aee39f65
209 extra-context =
210     key dash_location dash:location
211     key memcached_location memcached:location
212
213 [template-erp5-development]
214 < = template-jinja2-base
215 filename = instance-erp5-development.cfg
216 md5sum = df405a60901b5c112093d276c5bb1998
217 extra-context =
218     key openssl_location openssl:location
219     key template_zope template-zope:rendered
220
221 [template-erp5-production]
222 < = template-jinja2-base
223 filename = instance-erp5-production.cfg
224 md5sum = 1b458ff6a9b82f24f29f71b58f559186
225 extra-context =
226     key local_bt5_repository local-bt5-repository:list
227
228 [template-varnish]
229 recipe = slapos.recipe.build:download
230 url = ${:_profile_base_location_}/instance-varnish.cfg.in
231 md5sum = ea07f22c97e50105a88380da3b92b5e6
232 mode = 640
233
234
235 [networkcache]
236 # signature certificates of the following uploaders.
237 #   Romain Courteaud
238 #   Sebastien Robin
239 #   Kazuhiko Shiozaki
240 #   Cedric de Saint Martin
241 #   Yingjie Xu
242 #   Gabriel Monnerat
243 signature-certificate-list =
244   -----BEGIN CERTIFICATE-----
245   MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
246   CBMQRGVmYXVsdCBQcm92aW5jZTEPMA0GA1UEChMGTmV4ZWRpMB4XDTExMDkxNTA5
247   MDAwMloXDTEyMDkxNTA5MDAwMlowOTELMAkGA1UEBhMCRlIxGTAXBgNVBAgTEERl
248   ZmF1bHQgUHJvdmluY2UxDzANBgNVBAoTBk5leGVkaTCBnzANBgkqhkiG9w0BAQEF
249   AAOBjQAwgYkCgYEApYZv6OstoqNzxG1KI6iE5U4Ts2Xx9lgLeUGAMyfJLyMmRLhw
250   boKOyJ9Xke4dncoBAyNPokUR6iWOcnPHtMvNOsBFZ2f7VA28em3+E1JRYdeNUEtX
251   Z0s3HjcouaNAnPfjFTXHYj4um1wOw2cURSPuU5dpzKBbV+/QCb5DLheynisCAwEA
252   ATANBgkqhkiG9w0BAQsFAAOBgQBCZLbTVdrw3RZlVVMFezSHrhBYKAukTwZrNmJX
253   mHqi2tN8tNo6FX+wmxUUAf3e8R2Ymbdbn2bfbPpcKQ2fG7PuKGvhwMG3BlF9paEC
254   q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
255   QUUGLQ==
256   -----END CERTIFICATE-----
257   -----BEGIN CERTIFICATE-----
258   MIIB8jCCAVugAwIBAgIJAPu2zchZ2BxoMA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV
259   BAMMB3RzeGRldjMwHhcNMTExMDE0MTIxNjIzWhcNMTIxMDEzMTIxNjIzWjASMRAw
260   DgYDVQQDDAd0c3hkZXYzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPbh+
261   YGmo6mWmhVb1vTqX0BbeU0jCTB8TK3i6ep3tzSw2rkUGSx3niXn9LNTFNcIn3MZN
262   XHqbb4AS2Zxyk/2tr3939qqOrS4YRCtXBwTCuFY6r+a7pZsjiTNddPsEhuj4lEnR
263   L8Ax5mmzoi9nE+hiPSwqjRwWRU1+182rzXmN4QIDAQABo1AwTjAdBgNVHQ4EFgQU
264   /4XXREzqBbBNJvX5gU8tLWxZaeQwHwYDVR0jBBgwFoAU/4XXREzqBbBNJvX5gU8t
265   LWxZaeQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQA07q/rKoE7fAda
266   FED57/SR00OvY9wLlFEF2QJ5OLu+O33YUXDDbGpfUSF9R8l0g9dix1JbWK9nQ6Yd
267   R/KCo6D0sw0ZgeQv1aUXbl/xJ9k4jlTxmWbPeiiPZEqU1W9wN5lkGuLxV4CEGTKU
268   hJA/yXa1wbwIPGvX3tVKdOEWPRXZLg==
269   -----END CERTIFICATE-----
270   -----BEGIN CERTIFICATE-----
271   MIIB7jCCAVegAwIBAgIJAJWA0jQ4o9DGMA0GCSqGSIb3DQEBBQUAMA8xDTALBgNV
272   BAMMBHg2MXMwIBcNMTExMTI0MTAyNDQzWhgPMjExMTEwMzExMDI0NDNaMA8xDTAL
273   BgNVBAMMBHg2MXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANdJNiFsRlkH
274   vq2kHP2zdxEyzPAWZH3CQ3Myb3F8hERXTIFSUqntPXDKXDb7Y/laqjMXdj+vptKk
275   3Q36J+8VnJbSwjGwmEG6tym9qMSGIPPNw1JXY1R29eF3o4aj21o7DHAkhuNc5Tso
276   67fUSKgvyVnyH4G6ShQUAtghPaAwS0KvAgMBAAGjUDBOMB0GA1UdDgQWBBSjxFUE
277   RfnTvABRLAa34Ytkhz5vPzAfBgNVHSMEGDAWgBSjxFUERfnTvABRLAa34Ytkhz5v
278   PzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAFLDS7zNhlrQYSQO5KIj
279   z2RJe3fj4rLPklo3TmP5KLvendG+LErE2cbKPqnhQ2oVoj6u9tWVwo/g03PMrrnL
280   KrDm39slYD/1KoE5kB4l/p6KVOdeJ4I6xcgu9rnkqqHzDwI4v7e8/D3WZbpiFUsY
281   vaZhjNYKWQf79l6zXfOvphzJ
282   -----END CERTIFICATE-----
283   -----BEGIN CERTIFICATE-----
284   MIIB9jCCAV+gAwIBAgIJAO4V/jiMoICoMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
285   BAMMCENPTVAtMjMyMCAXDTEyMDIxNjExMTAyM1oYDzIxMTIwMTIzMTExMDIzWjAT
286   MREwDwYDVQQDDAhDT01QLTIzMjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
287   wi/3Z8W9pUiegUXIk/AiFDQ0UJ4JFAwjqr+HSRUirlUsHHT+8DzH/hfcTDX1I5BB
288   D1ADk+ydXjMm3OZrQcXjn29OUfM5C+g+oqeMnYQImN0DDQIOcUyr7AJc4xhvuXQ1
289   P2pJ5NOd3tbd0kexETa1LVhR6EgBC25LyRBRae76qosCAwEAAaNQME4wHQYDVR0O
290   BBYEFMDmW9aFy1sKTfCpcRkYnP6zUd1cMB8GA1UdIwQYMBaAFMDmW9aFy1sKTfCp
291   cRkYnP6zUd1cMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAskbFizHr
292   b6d3iIyN+wffxz/V9epbKIZVEGJd/6LrTdLiUfJPec7FaxVCWNyKBlCpINBM7cEV
293   Gn9t8mdVQflNqOlAMkOlUv1ZugCt9rXYQOV7rrEYJBWirn43BOMn9Flp2nibblby
294   If1a2ZoqHRxoNo2yTmm7TSYRORWVS+vvfjY=
295   -----END CERTIFICATE-----
296   -----BEGIN CERTIFICATE-----
297   MIIB9jCCAV+gAwIBAgIJAIlBksrZVkK8MA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
298   BAMMCENPTVAtMzU3MCAXDTEyMDEyNjEwNTUyOFoYDzIxMTIwMTAyMTA1NTI4WjAT
299   MREwDwYDVQQDDAhDT01QLTM1NzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
300   ts+iGUwi44vtIfwXR8DCnLtHV4ydl0YTK2joJflj0/Ws7mz5BYkxIU4fea/6+VF3
301   i11nwBgYgxQyjNztgc9u9O71k1W5tU95yO7U7bFdYd5uxYA9/22fjObaTQoC4Nc9
302   mTu6r/VHyJ1yRsunBZXvnk/XaKp7gGE9vNEyJvPn2bkCAwEAAaNQME4wHQYDVR0O
303   BBYEFKuGIYu8+6aEkTVg62BRYaD11PILMB8GA1UdIwQYMBaAFKuGIYu8+6aEkTVg
304   62BRYaD11PILMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAMoTRpBxK
305   YLEZJbofF7gSrRIcrlUJYXfTfw1QUBOKkGFFDsiJpEg4y5pUk1s5Jq9K3SDzNq/W
306   it1oYjOhuGg3al8OOeKFrU6nvNTF1BAvJCl0tr3POai5yXyN5jlK/zPfypmQYxE+
307   TaqQSGBJPVXYt6lrq/PRD9ciZgKLOwEqK8w=
308   -----END CERTIFICATE-----
309   -----BEGIN CERTIFICATE-----
310   MIIB9jCCAV+gAwIBAgIJAPHoWu90gbsgMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
311   BAMMCXZpZmlibm9kZTAeFw0xMjAzMTkyMzIwNTVaFw0xMzAzMTkyMzIwNTVaMBQx
312   EjAQBgNVBAMMCXZpZmlibm9kZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
313   ozBijpO8PS5RTeKTzA90vi9ezvv4vVjNaguqT4UwP9+O1+i6yq1Y2W5zZxw/Klbn
314   oudyNzie3/wqs9VfPmcyU9ajFzBv/Tobm3obmOqBN0GSYs5fyGw+O9G3//6ZEhf0
315   NinwdKmrRX+d0P5bHewadZWIvlmOupcnVJmkks852BECAwEAAaNQME4wHQYDVR0O
316   BBYEFF9EtgfZZs8L2ZxBJxSiY6eTsTEwMB8GA1UdIwQYMBaAFF9EtgfZZs8L2ZxB
317   JxSiY6eTsTEwMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAc43YTfc6
318   baSemaMAc/jz8LNLhRE5dLfLOcRSoHda8y0lOrfe4lHT6yP5l8uyWAzLW+g6s3DA
319   Yme/bhX0g51BmI6gjKJo5DoPtiXk/Y9lxwD3p7PWi+RhN+AZQ5rpo8UfwnnN059n
320   yDuimQfvJjBFMVrdn9iP6SfMjxKaGk6gVmI=
321   -----END CERTIFICATE-----