Make zope development default (WIP)
[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   request-tidstorage
15   basedirectory
16   certificate-authority
17   publish-apache-zope-backend-connection-string
18   zope-instance
19   apache-zope-backend-instance
20   ca-apache-zope-backend
21   logrotate
22   logrotate-entry-zope
23   cron
24   cron-entry-logrotate
25
26 eggs-directory = ${buildout:eggs-directory}
27 develop-eggs-directory = ${buildout:develop-eggs-directory}
28 offline = true
29
30 [request-common]
31 recipe = slapos.cookbook:request
32 software-url = $${slap-connection:software-release-url}
33 sla = computer_guid
34 sla-computer_guid = $${slap-connection:computer-id}
35 return = url
36 server-url = $${slap-connection:server-url}
37 key-file = $${slap-connection:key-file}
38 cert-file = $${slap-connection:cert-file}
39 computer-id = $${slap-connection:computer-id}
40 partition-id = $${slap-connection:partition-id}
41
42 [request-mariadb]
43 <=request-common
44 name = MariaDB DataBase
45 software-type = mariadb
46
47 [request-cloudooo]
48 <=request-common
49 name = Cloudooo
50 software-type = cloudooo
51
52 [request-memcached]
53 <=request-common
54 name = Memcached
55 software-type = memcached
56
57 [request-kumofs]
58 <=request-common
59 name = KumoFS
60 software-type = kumofs
61
62 [request-tidstorage]
63 <=request-common
64 name = TidStorage
65 return = url-login
66 config = json mysql-url memcached-url cloudooo-url kumofs-url
67 config-json = $${slap-parameter:json}
68 config-mysql-url = $${request-mariadb:connection-url}
69 config-memcached-url = $${request-memcached:connection-url}
70 config-cloudooo-url = $${request-cloudooo:connection-url}
71 config-kumofs-url = $${request-kumofs:connection-url}
72 software-type = tidstorage
73
74 # rest of parts are candidates for some generic stuff
75 [basedirectory]
76 recipe = slapos.cookbook:mkdirectory
77 services = $${rootdirectory:etc}/run/
78
79 [rootdirectory]
80 recipe = slapos.cookbook:mkdirectory
81 etc = $${buildout:directory}/etc/
82