wip for json schema
[slapos.git] / software / bonjourgrid-client / boinc-instance.cfg
1 [buildout]
2 parts =
3   boinc-client
4   publish-connection-informations
5
6 eggs-directory = ${buildout:eggs-directory}
7 develop-eggs-directory = ${buildout:develop-eggs-directory}
8 offline = true
9
10 [rootdirectory]
11 recipe = slapos.cookbook:mkdirectory
12 etc = $${buildout:directory}/etc/
13 var = $${buildout:directory}/var/
14 srv = $${buildout:directory}/srv/
15 bin = $${buildout:directory}/bin/
16 tmp = $${buildout:directory}/tmp/
17
18 [basedirectory]
19 recipe = slapos.cookbook:mkdirectory
20 log = $${rootdirectory:var}/log/
21 boinc_wrapper = $${rootdirectory:etc}/boinc/
22 run = $${rootdirectory:var}/run/
23 backup = $${rootdirectory:srv}/backup/
24 promises = $${rootdirectory:etc}/promise/
25 boinc = $${rootdirectory:srv}/boinc/
26
27 [boinc-passwd]
28 recipe = slapos.cookbook:generate.password
29 storage-path = $${basedirectory:boinc}/gui_rpc_auth.cfg
30 bytes = 8
31
32 [boinc-client]
33 recipe = slapos.cookbook:boinc.client
34 install-dir = $${basedirectory:boinc}
35 home = $${buildout:directory}
36 client-wrapper = $${basedirectory:boinc_wrapper}/boinc_client
37 cmd-wrapper = $${basedirectory:boinc_wrapper}/boinc_cmd
38 #specifie a cc_config.xml file to boinc client, use cconfig
39 ip = $${slap-network-information:global-ipv6}
40 passwd = $${boinc-passwd:passwd}
41 cconfig =
42 boinc-bin = ${boinc:location}/bin/boinc_client
43 cmd-bin = ${boinc:location}/bin/boinccmd
44 server-url = 
45 key =  
46
47 # Publish all instance parameters
48 [publish-connection-informations]
49 recipe = slapos.cookbook:publish
50 #this informations is provide in intern by bonjourgrid
51 boinc_remote-host = $${boinc-client:ip}
52 boinc_rpc-port = $${boinc-client:rpc-port}
53 boinc_rpc-passwd = $${boinc-passwd:passwd}