lamp/lapp stack: added missing jinja extension 'do'
[slapos.git] / software / erp5testnode / instance-default.cfg
1 [buildout]
2
3 eggs-directory = ${buildout:eggs-directory}
4 develop-eggs-directory = ${buildout:develop-eggs-directory}
5 offline = true
6
7 parts =
8   connection-dict
9   testnode
10   shell
11   shellinabox
12   certificate-authority
13   ca-shellinabox
14   ca-httpd
15
16 [connection-dict]
17 recipe = slapos.cookbook:publish
18 url = http://[$${shellinabox:ipv6}]:$${shellinabox:port}/
19 password = $${pwgen:passwd}
20
21 [pwgen]
22 recipe = slapos.cookbook:generate.password
23 storage-path = $${buildout:directory}/.password
24
25 [testnode]
26 recipe = slapos.cookbook:erp5testnode
27 slapos-directory = $${directory:slapos}
28 working-directory = $${directory:testnode}
29 test-suite-directory = $${directory:test-suite}
30 proxy-host = $${slap-network-information:global-ipv6}
31 proxy-port = 5000
32 log-directory = $${directory:log}
33 srv-directory = $${rootdirectory:srv}
34 software-directory = $${directory:software}
35 run-directory = $${directory:run}
36 test-node-title = $${slap-parameter:test-node-title}
37 node-quantity = $${slap-parameter:node-quantity}
38 ipv4-address = $${slap-network-information:local-ipv4}
39 ipv6-address = $${slap-network-information:global-ipv6}
40 test-suite-master-url = $${slap-parameter:test-suite-master-url}
41 instance-dict = $${slap-parameter:instance-dict}
42 software-path-list = $${slap-parameter:software-path-list}
43 git-binary = ${git:location}/bin/git
44 slapos-binary = ${buildout:bin-directory}/slapos
45 testnode = ${buildout:bin-directory}/testnode
46 zip-binary = ${zip:location}/bin/zip
47 httpd-pid-file = $${basedirectory:run}/httpd.pid
48 httpd-lock-file = $${basedirectory:run}/httpd.lock
49 httpd-conf-file = $${rootdirectory:etc}/httpd.conf
50 httpd-wrapper = $${rootdirectory:bin}/httpd
51 httpd-port = 9080
52 httpd-software-access-port = 9081
53 httpd-ip = $${slap-network-information:global-ipv6}
54 httpd-log-directory = $${basedirectory:log}
55 httpd-software-directory = $${directory:software}
56 httpd-cert-file = $${rootdirectory:etc}/httpd-public.crt
57 httpd-key-file = $${rootdirectory:etc}/httpd-private.key
58
59 configuration-file = $${rootdirectory:etc}/erp5testnode.cfg
60 log-file = $${basedirectory:log}/erp5testnode.log
61 wrapper = $${basedirectory:services}/erp5testnode
62
63 # Binaries
64 apache-binary = ${apache:location}/bin/httpd
65 apache-modules-dir = ${apache:location}/modules
66 apache-mime-file = ${apache:location}/conf/mime.types
67 apache-htpasswd = ${apache:location}/bin/htpasswd
68
69 [shell]
70 recipe = slapos.cookbook:shell
71 wrapper = $${rootdirectory:bin}/sh
72 shell = ${busybox:location}/bin/sh
73 home = $${buildout:directory}
74 ps1 = "\\w> "
75 path =
76     ${busybox:location}/bin/
77     ${busybox:location}/usr/bin/
78     ${git:location}/bin/
79     ${python2.7:location}/bin/
80     ${buildout:bin-directory}/
81     ${busybox:location}/sbin/
82     ${busybox:location}/usr/sbin/
83
84 [shellinabox]
85 recipe = slapos.cookbook:shellinabox
86 ipv6 = $${slap-network-information:global-ipv6}
87 port = 8080
88 shell = $${shell:wrapper}
89 wrapper = $${rootdirectory:bin}/shellinaboxd
90 shellinabox-binary = ${shellinabox:location}/bin/shellinaboxd
91 password = $${pwgen:passwd}
92 directory = $${buildout:directory}/
93 login-shell = $${rootdirectory:bin}/login
94 certificate-directory = $${directory:shellinabox}
95 cert-file = $${directory:shellinabox}/public.crt
96 key-file = $${directory:shellinabox}/private.key
97
98 [certificate-authority]
99 recipe = slapos.cookbook:certificate_authority
100 openssl-binary = ${openssl:location}/bin/openssl
101 ca-dir = $${directory:ca-dir}
102 requests-directory = $${cadirectory:requests}
103 wrapper = $${basedirectory:services}/ca
104 ca-private = $${cadirectory:private}
105 ca-certs = $${cadirectory:certs}
106 ca-newcerts = $${cadirectory:newcerts}
107 ca-crl = $${cadirectory:crl}
108
109 [cadirectory]
110 recipe = slapos.cookbook:mkdirectory
111 requests = $${directory:ca-dir}/requests/
112 private = $${directory:ca-dir}/private/
113 certs = $${directory:ca-dir}/certs/
114 newcerts = $${directory:ca-dir}/newcerts/
115 crl = $${directory:ca-dir}/crl/
116
117 [ca-shellinabox]
118 <= certificate-authority
119 recipe = slapos.cookbook:certificate_authority.request
120 executable = $${shellinabox:wrapper}
121 wrapper = $${basedirectory:services}/shellinaboxd
122 key-file = $${shellinabox:key-file}
123 cert-file = $${shellinabox:cert-file}
124
125 [ca-httpd]
126 <= certificate-authority
127 recipe = slapos.cookbook:certificate_authority.request
128 executable = $${testnode:httpd-wrapper}
129 wrapper = $${basedirectory:services}/httpd
130 key-file = $${testnode:httpd-key-file}
131 cert-file = $${testnode:httpd-cert-file}
132
133 [rootdirectory]
134 recipe = slapos.cookbook:mkdirectory
135 etc = $${buildout:directory}/etc
136 var = $${buildout:directory}/var
137 srv = $${buildout:directory}/srv
138 bin = $${buildout:directory}/bin
139 tmp = $${buildout:directory}/tmp
140
141 [basedirectory]
142 recipe = slapos.cookbook:mkdirectory
143 log = $${rootdirectory:var}/log
144 services = $${rootdirectory:etc}/run
145 run = $${rootdirectory:var}/run
146 promises = $${rootdirectory:etc}/promise
147
148 [directory]
149 recipe = slapos.cookbook:mkdirectory
150 slapos = $${rootdirectory:srv}/slapos
151 testnode = $${rootdirectory:srv}/testnode
152 test-suite = $${rootdirectory:srv}/test_suite
153 log = $${basedirectory:log}/testnode
154 run = $${basedirectory:run}/testnode
155 software = $${rootdirectory:srv}/software
156 shellinabox = $${rootdirectory:srv}/shellinabox
157 ca-dir = $${rootdirectory:srv}/ca
158
159 [slap-parameter]
160 node-quantity = 1
161 test-suite-master-url =
162 instance-dict =
163 software-path-list = ["http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/master:/software/seleniumrunner/software.cfg"]