Generate ERP5 specific certificate authority.
[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-instance:password}@$${zope-instance:ip}:$${zope-instance: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
41 [request-common]
42 recipe = slapos.cookbook:request
43 software-url = $${slap-connection:software-release-url}
44 sla = computer_guid
45 sla-computer_guid = $${slap-connection:computer-id}
46 return = url
47 server-url = $${slap-connection:server-url}
48 key-file = $${slap-connection:key-file}
49 cert-file = $${slap-connection:cert-file}
50 computer-id = $${slap-connection:computer-id}
51 partition-id = $${slap-connection:partition-id}
52
53 [request-mariadb]
54 <=request-common
55 name = MariaDB DataBase
56 software-type = mariadb
57
58 [request-cloudooo]
59 <=request-common
60 name = Cloudooo
61 software-type = cloudooo
62
63 [request-memcached]
64 <=request-common
65 name = Memcached
66 software-type = memcached
67
68 [request-kumofs]
69 <=request-common
70 name = KumoFS
71 software-type = kumofs
72
73 # rest of parts are candidates for some generic stuff
74 [basedirectory]
75 recipe = slapos.cookbook:mkdirectory
76 services = $${rootdirectory:etc}/run/
77
78 [rootdirectory]
79 recipe = slapos.cookbook:mkdirectory
80 etc = $${buildout:directory}/etc/
81