common.cfg 4.14 KB
Newer Older
1
[buildout5A]
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
  slapos-cfg-template
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 = 61b4b0d386a6f893b26b1c508ac1d87e
48 49 50 51 52 53
mode = 0644

[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
54
md5sum = 202c40bcca67d70a3c79d218be853b10
55 56 57 58 59 60
mode = 0644

[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
61
md5sum = a8815402e2d65c0a9cda53492b70d175
62 63
mode = 0644

64 65 66
[template-resilient]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
67
md5sum = a9647ae3c99308b85dd72fae76ef071f
68 69 70
filename = instance-resilient.cfg.jinja2
mode = 0644

71
[template-resilient-test]
72
recipe = hexagonit.recipe.download
73
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
74
download-only = true
75
#md5sum = b231383bb63edc0009fb6e0ff5c54d8e
76 77 78
filename = instance-resilient-test.cfg.jinja2
mode = 0644

79
[template_nginx_conf]
80
recipe = hexagonit.recipe.download
81
url = ${:_profile_base_location_}/nginx_conf.in
82
download-only = true
83
md5sum = fa66988e96bb712c0580b5fb90f95700
84 85 86
filename = nginx_conf.in
mode = 0644

87 88 89 90
[template_httpd_conf]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
91
md5sum = 0b63a652d1d51e0894a780896fce9893
92 93 94
filename = httpd_conf.in
mode = 0644

95 96 97
[template_launcher]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/launcher.in
98
#md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
99 100 101 102
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

103 104 105
[slapos-cfg-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
106
md5sum = 12cefe7c6265b983216bb6617aaf55dd
107
location = ${buildout:parts-directory}/${:_buildout_section_name_}
108
filename = slapos.cfg.in
109 110 111
download-only = true
mode = 0644

112 113 114
[parameters-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
115
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
116
location = ${buildout:parts-directory}/${:_buildout_section_name_}
117
filename = parameters.xml.in
118 119 120
download-only = true
mode = 0644

121 122 123 124
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
125
  collective.recipe.environment
126
  cns.recipe.symlink
127
  erp5.util
128 129
  hexagonit.recipe.download
  inotifyx
130
  lock-file
Nicolas Wavrant's avatar
Nicolas Wavrant committed
131
  lxml
132
  netaddr
Nicolas Wavrant's avatar
Nicolas Wavrant committed
133 134
  plone.recipe.command
  pytz
135
  slapos.cookbook
136
  slapos.libnetworkcache
Nicolas Wavrant's avatar
Nicolas Wavrant committed
137
  slapos.recipe.build
138 139
  slapos.toolbox[flask_auth]
  slapos.core
140
  xml_marshaller
141
  Gunicorn
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158

# 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