common.cfg 5.81 KB
Newer Older
Nicolas Wavrant's avatar
Nicolas Wavrant committed
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 9
  ../../component/dropbear/buildout.cfg
  ../../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 25 26

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

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

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
45
output = ${buildout:directory}/template-runner.cfg.in
46
md5sum = a4f3127bc82ff3a671a65a150f26c969
47 48
mode = 0644

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

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
61
md5sum = a85d054b3e2ae9243d8d188c897dc121
62 63
mode = 0644

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

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
76
md5sum = 521bad4c571b5b2dc3eee6090802de95
77 78
mode = 0644

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

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

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

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

110 111 112
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
Nicolas Wavrant's avatar
Nicolas Wavrant committed
113
md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
114 115 116 117
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

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

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

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

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

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

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

172 173 174 175
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
176
  collective.recipe.environment
177
  cns.recipe.symlink
178
  erp5.util
179 180
  hexagonit.recipe.download
  inotifyx
181
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
182
  lxml
183
  netaddr
Nicolas Wavrant's avatar
Nicolas Wavrant committed
184 185
  plone.recipe.command
  pytz
186
  slapos.cookbook
187
  slapos.libnetworkcache
Nicolas Wavrant's avatar
Nicolas Wavrant committed
188
  slapos.recipe.build
189 190
  slapos.toolbox[flask_auth]
  slapos.core
191
  supervisor
192
  xml_marshaller
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
211 212 213 214

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