common.cfg 4.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 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
Nicolas Wavrant's avatar
Nicolas Wavrant committed
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 = 58d0f26daf27e15caf7324217f05877f
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 = 78105b34f9f1d884e291104a711e43f4
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 = 41180970d3ec6decdf946bdefc32a809
78 79
mode = 0644

80 81 82
[template-resilient]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
83
md5sum = 1f7332d0b0671929a2de87ef9ce998c8
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's avatar
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 = 63782f8eaa94af729ec6bba80e062d8f
108 109 110
filename = httpd_conf.in
mode = 0644

111 112 113
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
Nicolas Wavrant's avatar
Nicolas Wavrant committed
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 = 847df63cf5a226ed338d7ca34b0220b5
123
location = ${buildout:parts-directory}/${:_buildout_section_name_}
124
filename = slapos.cfg.in
125 126 127
download-only = true
mode = 0644

128 129 130
[parameters-template]
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 149
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
150
  collective.recipe.environment
151
  cns.recipe.symlink
152
  erp5.util
153 154
  hexagonit.recipe.download
  inotifyx
155
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
156
  lxml
157
  netaddr
Nicolas Wavrant's avatar
Nicolas Wavrant committed
158 159
  plone.recipe.command
  pytz
160
  slapos.cookbook
161
  slapos.libnetworkcache
Nicolas Wavrant's avatar
Nicolas Wavrant committed
162
  slapos.recipe.build
163 164
  slapos.toolbox[flask_auth]
  slapos.core
165
  xml_marshaller
166
  Gunicorn
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183

# 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