slaprunner: recovery-code can be changed by user
[slapos.git] / software / slaprunner / common.cfg
1 [buildout]
2 extends =
3   ../../component/bash/buildout.cfg
4   ../../component/busybox/buildout.cfg
5   ../../component/curl/buildout.cfg
6   ../../component/dash/buildout.cfg
7   ../../component/dcron/buildout.cfg
8   ../../component/dropbear/buildout.cfg
9   ../../component/git/buildout.cfg
10   ../../component/logrotate/buildout.cfg
11   ../../component/lxml-python/buildout.cfg
12   ../../component/nano/buildout.cfg
13   ../../component/nginx/buildout.cfg
14   ../../component/rsync/buildout.cfg
15   ../../component/python-2.7/buildout.cfg
16   ../../component/screen/buildout.cfg
17   ../../component/shellinabox/buildout.cfg
18   ../../component/vim/buildout.cfg
19   ../../stack/flask.cfg
20   ../../stack/shacache-client.cfg
21   ../../stack/resilient/buildout.cfg
22   ../../stack/monitor/buildout.cfg
23   ../../stack/slapos.cfg
24
25 parts =
26   template
27   eggs
28   instance-runner-import
29   instance-runner-export
30   slapos-cookbook
31   slapos-cfg-template
32 # XXX: we have to manually add this for resilience
33   rdiff-backup
34   collective.recipe.template-egg
35
36 [template]
37 recipe = slapos.recipe.template
38 url = ${:_profile_base_location_}/instance.cfg
39 output = ${buildout:directory}/template.cfg
40 #md5sum = 8a47421ac6158b4ee476acab212c67d9
41 mode = 0644
42
43 [template-runner]
44 recipe = slapos.recipe.template
45 url = ${:_profile_base_location_}/instance-runner.cfg
46 output = ${buildout:directory}/template-runner.cfg.in
47 md5sum = 2bf878b9e658cfb59b44ad1ee107e4d4
48 mode = 0644
49
50 [instance-runner-import]
51 recipe = slapos.recipe.template
52 url = ${:_profile_base_location_}/instance-runner-import.cfg.in
53 output = ${buildout:directory}/instance-runner-import.cfg
54 md5sum = e1769596ef62f6db6bbfca4391e740c0
55 mode = 0644
56
57 [instance-runner-export]
58 recipe = slapos.recipe.template
59 url = ${:_profile_base_location_}/instance-runner-export.cfg.in
60 output = ${buildout:directory}/instance-runner-export.cfg
61 md5sum = b7664995a6dd954f4f214252ffeaaa61
62 mode = 0644
63
64 [template-resilient]
65 recipe = slapos.recipe.download
66 url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
67 md5sum = a9647ae3c99308b85dd72fae76ef071f
68 filename = instance-resilient.cfg.jinja2
69 mode = 0644
70
71 [template-resilient-test]
72 recipe = hexagonit.recipe.download
73 url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
74 download-only = true
75 #md5sum = b231383bb63edc0009fb6e0ff5c54d8e
76 filename = instance-resilient-test.cfg.jinja2
77 mode = 0644
78
79 [template_nginx_conf]
80 recipe = hexagonit.recipe.download
81 url = ${:_profile_base_location_}/nginx_conf.in
82 download-only = true
83 md5sum = fa66988e96bb712c0580b5fb90f95700
84 filename = nginx_conf.in
85 mode = 0644
86
87 [template_httpd_conf]
88 recipe = hexagonit.recipe.download
89 url = ${:_profile_base_location_}/httpd_conf.in
90 download-only = true
91 md5sum = 0b63a652d1d51e0894a780896fce9893
92 filename = httpd_conf.in
93 mode = 0644
94
95 [template_launcher]
96 recipe = slapos.recipe.download
97 url = ${:_profile_base_location_}/launcher.in
98 #md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
99 filename = launcher.in
100 mode = 0644
101 location = ${buildout:parts-directory}/${:_buildout_section_name_}
102
103 [slapos-cfg-template]
104 recipe = hexagonit.recipe.download
105 url = ${:_profile_base_location_}/template/${:filename}
106 <<<<<<< HEAD
107 md5sum = d31d1c51a51bc4b2b8dda197777a4bcb
108 =======
109 md5sum = 65dc3a88476b8e0366dbd40493ad4bc9
110 >>>>>>> 3f080e7... slaprunner: knowledge0 file path is transmitted to slaprunner throught slapos.cfg file
111 location = ${buildout:parts-directory}/${:_buildout_section_name_}
112 filename = slapos.cfg.in
113 download-only = true
114 mode = 0644
115
116 [parameters-template]
117 recipe = hexagonit.recipe.download
118 url = ${:_profile_base_location_}/${:filename}
119 md5sum = f8446fcf254b4929eb828a9a1d7e5f62
120 location = ${buildout:parts-directory}/${:_buildout_section_name_}
121 filename = parameters.xml.in
122 download-only = true
123 mode = 0644
124
125 [eggs]
126 recipe = z3c.recipe.scripts
127 eggs =
128   ${lxml-python:egg}
129   collective.recipe.environment
130   cns.recipe.symlink
131   erp5.util
132   hexagonit.recipe.download
133   inotifyx
134   lock-file
135   lxml
136   netaddr
137   plone.recipe.command
138   pytz
139   slapos.cookbook
140   slapos.libnetworkcache
141   slapos.recipe.build
142   slapos.toolbox[flask_auth]
143   slapos.core
144   xml_marshaller
145   Gunicorn
146
147 # Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
148 [slapos-cookbook]
149 eggs =
150   ${lxml-python:egg}
151   slapos.cookbook
152   cliff
153   hexagonit.recipe.download
154   inotifyx
155   netaddr
156   netifaces
157   requests
158   slapos.core
159   supervisor
160   xml_marshaller
161   pytz
162   slapos.libnetworkcache