common.cfg 5.56 KB
Newer Older
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 20
  ../../stack/flask.cfg
  ../../stack/shacache-client.cfg
21
  ../../stack/resilient/buildout.cfg
22
  ../../stack/monitor/buildout.cfg
23 24 25 26 27
  ../../stack/slapos.cfg

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

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

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

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

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

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

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

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

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

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 101 102
filename = nginx_conf.in
mode = 0644

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

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

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

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

137 138 139 140 141 142 143 144 145
[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

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

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

164 165 166 167
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
168
  collective.recipe.environment
169
  cns.recipe.symlink
170
  erp5.util
171 172
  hexagonit.recipe.download
  inotifyx
173
  lock-file
174
  lxml
175
  netaddr
176 177
  plone.recipe.command
  pytz
178
  slapos.cookbook
179
  slapos.libnetworkcache
180
  slapos.recipe.build
181 182
  slapos.toolbox[flask_auth]
  slapos.core
183
  supervisor
184
  xml_marshaller
185
  Gunicorn
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202

# 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
203 204 205 206 207 208

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