Fix the issue that generate.cloudooo recipe does not work
[slapos.git] / software / erp5 / instance-erp5-production.cfg
1 #############################
2 #
3 # Request erp5 production environnment
4 #
5 #############################
6 [buildout]
7
8 parts =
9   request-mariadb
10   request-sphinx
11   request-cloudooo
12   request-memcached
13   request-kumofs
14   request-tidstorage
15   basedirectory
16
17 eggs-directory = ${buildout:eggs-directory}
18 develop-eggs-directory = ${buildout:develop-eggs-directory}
19 offline = true
20
21 [request-common]
22 recipe = slapos.cookbook:request
23 software-url = $${slap-connection:software-release-url}
24 sla = computer_guid
25 sla-computer_guid = $${slap-connection:computer-id}
26 return = url
27 server-url = $${slap-connection:server-url}
28 key-file = $${slap-connection:key-file}
29 cert-file = $${slap-connection:cert-file}
30 computer-id = $${slap-connection:computer-id}
31 partition-id = $${slap-connection:partition-id}
32
33 [request-sphinx]
34 <=request-common
35 name = Sphinx Search Engine
36 software-type = sphinx
37
38 [request-mariadb]
39 <=request-common
40 name = MariaDB DataBase
41 software-type = mariadb
42
43 [request-cloudooo]
44 <=request-common
45 name = Cloudooo
46 config = cloudooo-json
47 config-cloudooo-json = $${slap-parameter:cloudooo-json}
48 software-type = cloudooo
49
50 [request-memcached]
51 <=request-common
52 name = Memcached
53 software-type = memcached
54
55 [request-kumofs]
56 <=request-common
57 name = KumoFS
58 software-type = kumofs
59
60 [request-tidstorage]
61 <=request-common
62 name = TidStorage
63 return = url-login
64 config = json mysql-url memcached-url cloudooo-url kumofs-url
65 config-json = $${slap-parameter:json}
66 config-mysql-url = $${request-mariadb:connection-url}
67 config-memcached-url = $${request-memcached:connection-url}
68 config-cloudooo-url = $${request-cloudooo:connection-url}
69 config-kumofs-url = $${request-kumofs:connection-url}
70 software-type = tidstorage
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