common.cfg 5.89 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
# stacks are listed from most generic to most specific,
# to avoid versioning issues

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

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

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
48
output = ${buildout:directory}/template-runner.cfg.in
49
md5sum = 64a2a9748829f7ecbf89dd0cb455c4c7
50 51
mode = 0644

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

60 61 62 63
[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
64
md5sum = a85d054b3e2ae9243d8d188c897dc121
65 66
mode = 0644

67 68 69 70
[template-runner-export-script]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
71
md5sum = 0f290b46c0b89ff84aee5c10477e07ca
72 73 74
filename = runner-export.sh.jinja2
mode = 0644

75 76 77 78
[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
79
md5sum = 521bad4c571b5b2dc3eee6090802de95
80 81
mode = 0644

82 83 84
[template-resilient]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
Ivan Tyagov's avatar
Ivan Tyagov committed
85
md5sum = e5c007ed439606e8c7d3c05c7fab6408
86 87 88
filename = instance-resilient.cfg.jinja2
mode = 0644

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 = b95b230bcdd7d4eaf9452f73156b27e8
94 95 96
filename = instance-resilient-test.cfg.jinja2
mode = 0644

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 103 104
filename = nginx_conf.in
mode = 0644

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

113 114 115
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
116
md5sum = 525e37ea8b2acf6209869999b15071a6
117 118 119 120
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

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

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

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

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

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

166 167 168 169 170 171 172 173 174
[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

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

# 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
214 215 216 217

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
218
eggs +=
219
  supervisor