runner: update resilient monitor and move import/export scripts outside recipe
[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 = b30d71f2f0abfecc2638fe6b804f3c43
48 mode = 0644
49
50 [template-runner-import-script]
51 recipe = hexagonit.recipe.download
52 url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
53 download-only = true
54 #md5sum = 7c0608eafb5c6998846851744a70b3de
55 filename = runner-import.sh.jinja2
56 mode = 0644
57
58 [instance-runner-import]
59 recipe = slapos.recipe.template
60 url = ${:_profile_base_location_}/instance-runner-import.cfg.in
61 output = ${buildout:directory}/instance-runner-import.cfg
62 md5sum = 202c40bcca67d70a3c79d218be853b10
63 mode = 0644
64
65 [template-runner-export-script]
66 recipe = hexagonit.recipe.download
67 url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
68 download-only = true
69 #md5sum = 7c0608eafb5c6998846851744a70b3de
70 filename = runner-export.sh.jinja2
71 mode = 0644
72
73 [instance-runner-export]
74 recipe = slapos.recipe.template
75 url = ${:_profile_base_location_}/instance-runner-export.cfg.in
76 output = ${buildout:directory}/instance-runner-export.cfg
77 md5sum = a8815402e2d65c0a9cda53492b70d175
78 mode = 0644
79
80 [template-resilient]
81 recipe = slapos.recipe.download
82 url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
83 md5sum = e5c7e445d0103b5e73aedb43fac681dd
84 filename = instance-resilient.cfg.jinja2
85 mode = 0644
86
87 [template-resilient-test]
88 recipe = hexagonit.recipe.download
89 url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
90 download-only = true
91 md5sum = 07241952e1dce8688b2da5c1a14c3e6a
92 filename = instance-resilient-test.cfg.jinja2
93 mode = 0644
94
95 [template_nginx_conf]
96 recipe = hexagonit.recipe.download
97 url = ${:_profile_base_location_}/nginx_conf.in
98 download-only = true
99 md5sum = 7c0608eafb5c6998846851744a70b3de
100 filename = nginx_conf.in
101 mode = 0644
102
103 [template_httpd_conf]
104 recipe = hexagonit.recipe.download
105 url = ${:_profile_base_location_}/httpd_conf.in
106 download-only = true
107 md5sum = 47ba63d87a7fdc91568581226f0063f6
108 filename = httpd_conf.in
109 mode = 0644
110
111 [template_launcher]
112 recipe = slapos.recipe.download
113 url = ${:_profile_base_location_}/launcher.in
114 md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
115 filename = launcher.in
116 mode = 0644
117 location = ${buildout:parts-directory}/${:_buildout_section_name_}
118
119 [slapos-cfg-template]
120 recipe = hexagonit.recipe.download
121 url = ${:_profile_base_location_}/template/${:filename}
122 md5sum = 788795524769f6d946526ac282508b69
123 location = ${buildout:parts-directory}/${:_buildout_section_name_}
124 filename = slapos.cfg.in
125 download-only = true
126 mode = 0644
127
128 [parameters-template]
129 recipe = hexagonit.recipe.download
130 url = ${:_profile_base_location_}/${:filename}
131 md5sum = f8446fcf254b4929eb828a9a1d7e5f62
132 location = ${buildout:parts-directory}/${:_buildout_section_name_}
133 filename = parameters.xml.in
134 download-only = true
135 mode = 0644
136
137 [eggs]
138 recipe = z3c.recipe.scripts
139 eggs =
140   ${lxml-python:egg}
141   collective.recipe.environment
142   cns.recipe.symlink
143   erp5.util
144   hexagonit.recipe.download
145   inotifyx
146   lock-file
147   lxml
148   netaddr
149   plone.recipe.command
150   pytz
151   slapos.cookbook
152   slapos.libnetworkcache
153   slapos.recipe.build
154   slapos.toolbox[flask_auth]
155   slapos.core
156   xml_marshaller
157   Gunicorn
158
159 # Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
160 [slapos-cookbook]
161 eggs =
162   ${lxml-python:egg}
163   slapos.cookbook
164   cliff
165   hexagonit.recipe.download
166   inotifyx
167   netaddr
168   netifaces
169   requests
170   slapos.core
171   supervisor
172   xml_marshaller
173   pytz
174   slapos.libnetworkcache