slaprunner: add configurable cpu-ratio parameter
[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
20 [publish]
21 recipe = slapos.cookbook:publish
22 # TODO: make port a partition parameter
23 # TODO: stop using slap-network-information
24 ip = [${slap-network-information:global-ipv6}]
25 port = 10002
26 admin = ${:ip}:${:port}
27
28 [neo-admin-run-wrapper]
29 recipe = slapos.cookbook:symbolic.link
30 target-directory = ${directory:run}
31 link-binary = ${neo-admin:wrapper}
32
33 [directory]
34 recipe = slapos.cookbook:mkdirectory
35 promises = ${buildout:directory}/etc/promises
36 run = ${buildout:directory}/etc/run
37 log = ${buildout:directory}/var/log
38 bin = ${buildout:directory}/bin
39
40 [neo-admin-promise]
41 recipe = slapos.cookbook:check_port_listening
42 hostname = ${neo-admin:ip}
43 port = ${neo-admin:port}
44 path = ${directory:promises}/neo-admin-promise