Include erp5 update and binary linking.
[slapos.git] / software / erp5 / instance-erp5-development.cfg
1 #############################
2 #
3 # Request erp5 development environnment
4 #
5 #############################
6 [buildout]
7
8 extends = ${template-zope:output}
9 parts +=
10   request-mariadb
11   request-cloudooo
12   request-memcached
13   request-kumofs
14   basedirectory
15   erp5-update
16
17 eggs-directory = ${buildout:eggs-directory}
18 develop-eggs-directory = ${buildout:develop-eggs-directory}
19 offline = true
20
21 [erp5-update]
22 recipe = slapos.cookbook:erp5.update
23
24 # Configuration
25 url = http://$${zope-instance:user}:$${zope-instances:password}@$${zope-instances:ip}:$${zope-instances:port}/
26 mysql-url = $${request-mariadb:connection-url}
27 kumofs-url = $${request-kumofs:connection-url}
28 memcached-url = $${request-memcached:connection-url}
29 cloudooo-url = $${request-cloudooo:connection-url}
30 site-id = $${slap-parameter:site-id}
31 openssl-binary = ${openssl:location}/bin/openssl
32 cadir-path = $${erp5-certificate-authority:ca-dir}
33
34 # Paths
35 update-wrapper = $${basedirectory:services}/erp5-update
36
37 # Defaults
38 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
39 bt5-repository-list = $${zope-instance:bt5-repository-list}
40 [request-common]
41 recipe = slapos.cookbook:request
42 software-url = $${slap-connection:software-release-url}
43 sla = computer_guid
44 sla-computer_guid = $${slap-connection:computer-id}
45 return = url
46 server-url = $${slap-connection:server-url}
47 key-file = $${slap-connection:key-file}
48 cert-file = $${slap-connection:cert-file}
49 computer-id = $${slap-connection:computer-id}
50 partition-id = $${slap-connection:partition-id}
51
52 [request-mariadb]
53 <=request-common
54 name = MariaDB DataBase
55 software-type = mariadb
56
57 [request-cloudooo]
58 <=request-common
59 name = Cloudooo
60 software-type = cloudooo
61
62 [request-memcached]
63 <=request-common
64 name = Memcached
65 software-type = memcached
66
67 [request-kumofs]
68 <=request-common
69 name = KumoFS
70 software-type = kumofs
71
72 # rest of parts are candidates for some generic stuff
73 [basedirectory]
74 recipe = slapos.cookbook:mkdirectory
75 services = $${rootdirectory:etc}/run/
76
77 [rootdirectory]
78 recipe = slapos.cookbook:mkdirectory
79 etc = $${buildout:directory}/etc/
80