Blame view

software/slaprunner/common.cfg 5.81 KB
Nicolas Wavrant committed
1
[buildout]
Cédric de Saint Martin committed
2
extends =
Cédric Le Ninivin committed
3
  ../../component/bash/buildout.cfg
Nicolas Wavrant committed
4
  ../../component/busybox/buildout.cfg
Cédric Le Ninivin committed
5
  ../../component/curl/buildout.cfg
Cédric de Saint Martin committed
6
  ../../component/dash/buildout.cfg
Nicolas Wavrant committed
7
  ../../component/dcron/buildout.cfg
Cédric de Saint Martin committed
8 9
  ../../component/dropbear/buildout.cfg
  ../../component/git/buildout.cfg
Nicolas Wavrant committed
10
  ../../component/logrotate/buildout.cfg
Cédric de Saint Martin committed
11
  ../../component/lxml-python/buildout.cfg
Nicolas Wavrant committed
12
  ../../component/nano/buildout.cfg
Cédric Le Ninivin committed
13
  ../../component/nginx/buildout.cfg
Cédric Le Ninivin committed
14
  ../../component/rsync/buildout.cfg
Nicolas Wavrant committed
15
  ../../component/python-2.7/buildout.cfg
Nicolas Wavrant committed
16
  ../../component/screen/buildout.cfg
Nicolas Wavrant committed
17
  ../../component/shellinabox/buildout.cfg
Nicolas Wavrant committed
18
  ../../component/vim/buildout.cfg
Kazuhiko Shiozaki committed
19
  ../../stack/slapos.cfg
Cédric de Saint Martin committed
20
  ../../stack/flask.cfg
Cédric Le Ninivin committed
21
  ../../stack/resilient/buildout.cfg
Nicolas Wavrant committed
22
  ../../stack/monitor/buildout.cfg
Cédric de Saint Martin committed
23 24 25 26

parts =
  template
  eggs
Cédric Le Ninivin committed
27 28
  instance-runner-import
  instance-runner-export
Cédric Le Ninivin committed
29
  slapos-cookbook
Nicolas Wavrant committed
30
  template-slapos-cfg
Nicolas Wavrant committed
31 32 33
# XXX: we have to manually add this for resilience
  rdiff-backup
  collective.recipe.template-egg
34

Cédric de Saint Martin committed
35 36 37 38
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
Nicolas Wavrant committed
39
md5sum = 8a47421ac6158b4ee476acab212c67d9
Cédric de Saint Martin committed
40 41 42 43 44
mode = 0644

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
Nicolas Wavrant committed
45
output = ${buildout:directory}/template-runner.cfg.in
Marco Mariani committed
46
md5sum = 8a6688ed89f49d32312f2145b7f7d15e
Cédric Le Ninivin committed
47 48
mode = 0644

Cédric Le Ninivin committed
49 50 51 52
[template-runner-import-script]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
Rafael Monnerat committed
53
md5sum = d64529e263d42b0b56e5fe3a976d18c9
Cédric Le Ninivin committed
54 55 56
filename = runner-import.sh.jinja2
mode = 0644

Cédric Le Ninivin committed
57 58 59 60
[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
Nicolas Wavrant committed
61
md5sum = a85d054b3e2ae9243d8d188c897dc121
Cédric Le Ninivin committed
62 63
mode = 0644

Cédric Le Ninivin committed
64 65 66 67
[template-runner-export-script]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
Rafael Monnerat committed
68
md5sum = e74a0cbda64182c7fdff42cc46f07a12
Cédric Le Ninivin committed
69 70 71
filename = runner-export.sh.jinja2
mode = 0644

Cédric Le Ninivin committed
72 73 74 75
[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
Nicolas Wavrant committed
76
md5sum = 521bad4c571b5b2dc3eee6090802de95
Cédric de Saint Martin committed
77 78
mode = 0644

Cédric Le Ninivin committed
79 80 81
[template-resilient]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
Nicolas Wavrant committed
82
md5sum = aec7fb7fe57b48c5c26c7adcdff36d26
Cédric Le Ninivin committed
83 84 85
filename = instance-resilient.cfg.jinja2
mode = 0644

86
[template-resilient-test]
Nicolas Wavrant committed
87
recipe = hexagonit.recipe.download
88
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
Nicolas Wavrant committed
89
download-only = true
Nicolas Wavrant committed
90
md5sum = 01545742e97b4b95cd5e14d5d7cb1584
91 92 93
filename = instance-resilient-test.cfg.jinja2
mode = 0644

Cédric Le Ninivin committed
94
[template_nginx_conf]
Nicolas Wavrant committed
95
recipe = hexagonit.recipe.download
Cédric Le Ninivin committed
96
url = ${:_profile_base_location_}/nginx_conf.in
Nicolas Wavrant committed
97
download-only = true
Cédric Le Ninivin committed
98
md5sum = 7c0608eafb5c6998846851744a70b3de
Cédric Le Ninivin committed
99 100 101
filename = nginx_conf.in
mode = 0644

Nicolas Wavrant committed
102 103 104 105
[template_httpd_conf]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
Cédric Le Ninivin committed
106
md5sum = 94bc5d6f1afc4e075d530fed496f47c2
Nicolas Wavrant committed
107 108 109
filename = httpd_conf.in
mode = 0644

Cédric Le Ninivin committed
110 111 112
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
Marco Mariani committed
113
md5sum = 525e37ea8b2acf6209869999b15071a6
Cédric Le Ninivin committed
114 115 116 117
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

Nicolas Wavrant committed
118
[template-slapos-cfg]
Nicolas Wavrant committed
119 120
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
Cédric Le Ninivin committed
121
md5sum = ca57a8bf1d4da20344fab602a69b807f
Nicolas Wavrant committed
122
location = ${buildout:parts-directory}/${:_buildout_section_name_}
Nicolas Wavrant committed
123
filename = slapos.cfg.in
Nicolas Wavrant committed
124 125 126
download-only = true
mode = 0644

Nicolas Wavrant committed
127
[template-parameters]
Nicolas Wavrant committed
128 129
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
Nicolas Wavrant committed
130
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
Nicolas Wavrant committed
131
location = ${buildout:parts-directory}/${:_buildout_section_name_}
Nicolas Wavrant committed
132
filename = parameters.xml.in
Nicolas Wavrant committed
133 134 135
download-only = true
mode = 0644

Nicolas Wavrant committed
136 137 138
[template-bash-profile]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
Nicolas Wavrant committed
139
md5sum = 39dc910743c70d5120a778779a052cad
Nicolas Wavrant committed
140 141 142 143 144
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = bash_profile.in
download-only = true
mode = 0644

Nicolas Wavrant committed
145 146 147
[template-supervisord]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
Cédric Le Ninivin committed
148
md5sum = 239fe88e1522afe7686572dd34568720
Nicolas Wavrant committed
149 150 151 152 153
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
download-only = true
mode = 0644

Nicolas Wavrant committed
154 155 156
[template-listener-slapgrid]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
Nicolas Wavrant committed
157
md5sum = 49d50410cf7467175a841eb7cd0d93d4
Nicolas Wavrant committed
158 159 160 161 162
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = listener_slapgrid.py.in
download-only = true
mode = 0644

Cédric Le Ninivin committed
163 164 165 166 167 168 169 170 171
[cors-domain-cgi]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
md5sum = 4c44d617d5bfd1db8695200e896480c0
destination = ${buildout:parts-directory}/monitor-template-cors-domain-cgi
filename = cors-domain.jinja
mode = 0644

Cédric de Saint Martin committed
172 173 174 175
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
Nicolas Wavrant committed
176
  collective.recipe.environment
Cédric Le Ninivin committed
177
  cns.recipe.symlink
178
  erp5.util
Cédric Le Ninivin committed
179 180
  hexagonit.recipe.download
  inotifyx
Cédric Le Ninivin committed
181
  lock-file
Nicolas Wavrant committed
182
  lxml
Cédric Le Ninivin committed
183
  netaddr
Nicolas Wavrant committed
184 185
  plone.recipe.command
  pytz
186
  slapos.cookbook
Cédric de Saint Martin committed
187
  slapos.libnetworkcache
Nicolas Wavrant committed
188
  slapos.recipe.build
Cédric de Saint Martin committed
189 190
  slapos.toolbox[flask_auth]
  slapos.core
Nicolas Wavrant committed
191
  supervisor
Cédric Le Ninivin committed
192
  xml_marshaller
Nicolas Wavrant committed
193
  Gunicorn
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210

# Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
[slapos-cookbook]
eggs =
  ${lxml-python:egg}
  slapos.cookbook
  cliff
  hexagonit.recipe.download
  inotifyx
  netaddr
  netifaces
  requests
  slapos.core
  supervisor
  xml_marshaller
  pytz
  slapos.libnetworkcache
Nicolas Wavrant committed
211 212 213 214

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
Nicolas Wavrant committed
215
eggs +=
Nicolas Wavrant committed
216
  supervisor