request: drop redundant 'config' & 'sla' options
[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/slapos.cfg
20   ../../stack/flask.cfg
21   ../../stack/resilient/buildout.cfg
22   ../../stack/monitor/buildout.cfg
23
24 # stacks are listed from most generic to most specific,
25 # to avoid versioning issues
26
27 parts =
28   template
29   eggs
30   instance-runner-import
31   instance-runner-export
32   slapos-cookbook
33   template-slapos-cfg
34 # XXX: we have to manually add this for resilience
35   rdiff-backup
36   collective.recipe.template-egg
37
38 [template]
39 recipe = slapos.recipe.template
40 url = ${:_profile_base_location_}/instance.cfg
41 output = ${buildout:directory}/template.cfg
42 md5sum = 8a47421ac6158b4ee476acab212c67d9
43 mode = 0644
44
45 [template-runner]
46 recipe = slapos.recipe.template
47 url = ${:_profile_base_location_}/instance-runner.cfg
48 output = ${buildout:directory}/template-runner.cfg.in
49 md5sum = 8ebc0e59db33f0105968a813a3130236
50 mode = 0644
51
52 [template-runner-import-script]
53 recipe = hexagonit.recipe.download
54 url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
55 download-only = true
56 md5sum = c0d05a26b06ce172efaad03c52ef92ca
57 filename = runner-import.sh.jinja2
58 mode = 0644
59
60 [instance-runner-import]
61 recipe = slapos.recipe.template
62 url = ${:_profile_base_location_}/instance-runner-import.cfg.in
63 output = ${buildout:directory}/instance-runner-import.cfg
64 md5sum = a85d054b3e2ae9243d8d188c897dc121
65 mode = 0644
66
67 [template-runner-export-script]
68 recipe = hexagonit.recipe.download
69 url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
70 download-only = true
71 md5sum = 0f290b46c0b89ff84aee5c10477e07ca
72 filename = runner-export.sh.jinja2
73 mode = 0644
74
75 [instance-runner-export]
76 recipe = slapos.recipe.template
77 url = ${:_profile_base_location_}/instance-runner-export.cfg.in
78 output = ${buildout:directory}/instance-runner-export.cfg
79 md5sum = 521bad4c571b5b2dc3eee6090802de95
80 mode = 0644
81
82 [template-resilient]
83 recipe = slapos.recipe.download
84 url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
85 md5sum = aec7fb7fe57b48c5c26c7adcdff36d26
86 filename = instance-resilient.cfg.jinja2
87 mode = 0644
88
89 [template-resilient-test]
90 recipe = hexagonit.recipe.download
91 url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
92 download-only = true
93 md5sum = 105c7c427def7b2643b7480b2bada3a5
94 filename = instance-resilient-test.cfg.jinja2
95 mode = 0644
96
97 [template_nginx_conf]
98 recipe = hexagonit.recipe.download
99 url = ${:_profile_base_location_}/nginx_conf.in
100 download-only = true
101 md5sum = 7c0608eafb5c6998846851744a70b3de
102 filename = nginx_conf.in
103 mode = 0644
104
105 [template_httpd_conf]
106 recipe = hexagonit.recipe.download
107 url = ${:_profile_base_location_}/httpd_conf.in
108 download-only = true
109 md5sum = 94bc5d6f1afc4e075d530fed496f47c2
110 filename = httpd_conf.in
111 mode = 0644
112
113 [template_launcher]
114 recipe = slapos.recipe.download
115 url = ${:_profile_base_location_}/launcher.in
116 md5sum = 525e37ea8b2acf6209869999b15071a6
117 filename = launcher.in
118 mode = 0644
119 location = ${buildout:parts-directory}/${:_buildout_section_name_}
120
121 [template-slapos-cfg]
122 recipe = hexagonit.recipe.download
123 url = ${:_profile_base_location_}/template/${:filename}
124 md5sum = ca57a8bf1d4da20344fab602a69b807f
125 location = ${buildout:parts-directory}/${:_buildout_section_name_}
126 filename = slapos.cfg.in
127 download-only = true
128 mode = 0644
129
130 [template-parameters]
131 recipe = hexagonit.recipe.download
132 url = ${:_profile_base_location_}/${:filename}
133 md5sum = f8446fcf254b4929eb828a9a1d7e5f62
134 location = ${buildout:parts-directory}/${:_buildout_section_name_}
135 filename = parameters.xml.in
136 download-only = true
137 mode = 0644
138
139 [template-bash-profile]
140 recipe = hexagonit.recipe.download
141 url = ${:_profile_base_location_}/template/${:filename}
142 md5sum = 39dc910743c70d5120a778779a052cad
143 location = ${buildout:parts-directory}/${:_buildout_section_name_}
144 filename = bash_profile.in
145 download-only = true
146 mode = 0644
147
148 [template-supervisord]
149 recipe = hexagonit.recipe.download
150 url = ${:_profile_base_location_}/template/${:filename}
151 md5sum = 239fe88e1522afe7686572dd34568720
152 location = ${buildout:parts-directory}/${:_buildout_section_name_}
153 filename = supervisord.conf.in
154 download-only = true
155 mode = 0644
156
157 [template-listener-slapgrid]
158 recipe = hexagonit.recipe.download
159 url = ${:_profile_base_location_}/template/${:filename}
160 md5sum = 49d50410cf7467175a841eb7cd0d93d4
161 location = ${buildout:parts-directory}/${:_buildout_section_name_}
162 filename = listener_slapgrid.py.in
163 download-only = true
164 mode = 0644
165
166 [cors-domain-cgi]
167 recipe = hexagonit.recipe.download
168 url = ${:_profile_base_location_}/template/${:filename}
169 download-only = true
170 md5sum = 4c44d617d5bfd1db8695200e896480c0
171 destination = ${buildout:parts-directory}/monitor-template-cors-domain-cgi
172 filename = cors-domain.jinja
173 mode = 0644
174
175 [eggs]
176 recipe = z3c.recipe.scripts
177 eggs =
178   ${lxml-python:egg}
179   collective.recipe.environment
180   cns.recipe.symlink
181   erp5.util
182   hexagonit.recipe.download
183   inotifyx
184   lock-file
185   lxml
186   netaddr
187   plone.recipe.command
188   pytz
189   slapos.cookbook
190   slapos.libnetworkcache
191   slapos.recipe.build
192   slapos.toolbox[flask_auth]
193   slapos.core
194   supervisor
195   xml_marshaller
196   Gunicorn
197
198 # Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
199 [slapos-cookbook]
200 eggs =
201   ${lxml-python:egg}
202   slapos.cookbook
203   cliff
204   hexagonit.recipe.download
205   inotifyx
206   netaddr
207   netifaces
208   requests
209   slapos.core
210   supervisor
211   xml_marshaller
212   pytz
213   slapos.libnetworkcache
214
215 [extra-eggs]
216 recipe = zc.recipe.egg
217 interpreter = pythonwitheggs
218 eggs +=
219   supervisor