common.cfg 5.53 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/flask.cfg
20
  ../../stack/resilient/buildout.cfg
21
  ../../stack/monitor/buildout.cfg
22 23 24 25 26
  ../../stack/slapos.cfg

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 = 9b07a5e3409fe44f2ce23b5bdc6b8d6c
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 = b003f6a6963f7787948be85c3d479ccd
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 = 246167ed081027618ef127a6fffd13ed
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 = ac92f32bd9a0d8c39657b80d4a80f5cc
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 = ba3721425ba34e265b1f8390ed7196cf
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 139 140 141 142 143 144
[template-bash-profile]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
md5sum = 0e88fc8739f2aff581da787c2843e682
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 = af2d78440a358ec268d7ece4fce99ec9
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
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
167
  collective.recipe.environment
168
  cns.recipe.symlink
169
  erp5.util
170 171
  hexagonit.recipe.download
  inotifyx
172
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
173
  lxml
174
  netaddr
Nicolas Wavrant's avatar
Nicolas Wavrant committed
175 176
  plone.recipe.command
  pytz
177
  slapos.cookbook
178
  slapos.libnetworkcache
Nicolas Wavrant's avatar
Nicolas Wavrant committed
179
  slapos.recipe.build
180 181
  slapos.toolbox[flask_auth]
  slapos.core
182
  supervisor
183
  xml_marshaller
184
  Gunicorn
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201

# 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
202 203 204 205

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
206
eggs +=
207
  supervisor