Define defaults.
[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 [slap-parameter]
22 # default site id
23 site-id = erp5
24
25 [erp5-update]
26 recipe = slapos.cookbook:erp5.update
27
28 # Configuration
29 url = http://$${zope-instance:user}:$${zope-instance:password}@$${zope-instance:ip}:$${zope-instance:port}/
30 mysql-url = $${request-mariadb:connection-url}
31 kumofs-url = $${request-kumofs:connection-url}
32 memcached-url = $${request-memcached:connection-url}
33 cloudooo-url = $${request-cloudooo:connection-url}
34 site-id = $${slap-parameter:site-id}
35 openssl-binary = ${openssl:location}/bin/openssl
36 cadir-path = $${erp5-certificate-authority:ca-dir}
37
38 # Paths
39 update-wrapper = $${basedirectory:services}/erp5-update
40
41 # Defaults
42 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
43 bt5-repository-list = $${zope-instance:bt5-repository-list}
44
45 [request-common]
46 recipe = slapos.cookbook:request
47 software-url = $${slap-connection:software-release-url}
48 sla = computer_guid
49 sla-computer_guid = $${slap-connection:computer-id}
50 return = url
51 server-url = $${slap-connection:server-url}
52 key-file = $${slap-connection:key-file}
53 cert-file = $${slap-connection:cert-file}
54 computer-id = $${slap-connection:computer-id}
55 partition-id = $${slap-connection:partition-id}
56
57 [request-mariadb]
58 <=request-common
59 name = MariaDB DataBase
60 software-type = mariadb
61
62 [request-cloudooo]
63 <=request-common
64 name = Cloudooo
65 software-type = cloudooo
66
67 [request-memcached]
68 <=request-common
69 name = Memcached
70 software-type = memcached
71
72 [request-kumofs]
73 <=request-common
74 name = KumoFS
75 software-type = kumofs
76
77 # rest of parts are candidates for some generic stuff
78 [basedirectory]
79 recipe = slapos.cookbook:mkdirectory
80 services = $${rootdirectory:etc}/run/
81
82 [rootdirectory]
83 recipe = slapos.cookbook:mkdirectory
84 etc = $${buildout:directory}/etc/
85