neoppod: Add another missing "promises" directory.
[slapos.git] / software / neoppod / instance-neo-admin.cfg.in
1 [buildout]
2 parts =
3   neo-admin-run-wrapper
4   neo-admin-promise
5
6 eggs-directory = {{eggs_directory}}
7 develop-eggs-directory = {{develop_eggs_directory}}
8 offline = true
9
10 [neo-admin]
11 recipe = slapos.cookbook:neoppod.admin
12 binary = {{bin_directory}}/neoadmin
13 wrapper = ${directory:bin}/neoadmin
14 logfile = ${directory:log}/neoadmin.log
15 ip = ${publish:ip}
16 port = ${publish:port}
17 cluster = ${slap-parameter:cluster}
18 masters = ${slap-parameter:masters}
19 verbose = ${slap-parameter:verbose}
20
21 [publish]
22 recipe = slapos.cookbook:publish
23 # TODO: make port a partition parameter
24 # TODO: stop using slap-network-information
25 ip = [${slap-network-information:global-ipv6}]
26 port = 10002
27 admin = ${:ip}:${:port}
28
29 [neo-admin-run-wrapper]
30 recipe = slapos.cookbook:symbolic.link
31 target-directory = ${directory:run}
32 link-binary = ${neo-admin:wrapper}
33
34 [directory]
35 recipe = slapos.cookbook:mkdirectory
36 promises = ${buildout:directory}/etc/promises
37 run = ${buildout:directory}/etc/run
38 log = ${buildout:directory}/var/log
39 bin = ${buildout:directory}/bin
40
41 [neo-admin-promise]
42 recipe = slapos.cookbook:check_port_listening
43 hostname = ${neo-admin:ip}
44 port = ${neo-admin:port}
45 path = ${directory:promises}/neo-admin-promise