common.cfg 4.13 KB
Newer Older
1 2
[buildout]
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 = c66f18b74b958805bb2196fb1c54683e
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 = e1769596ef62f6db6bbfca4391e740c0
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 = b7664995a6dd954f4f214252ffeaaa61
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
Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
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 = d31d1c51a51bc4b2b8dda197777a4bcb
107
location = ${buildout:parts-directory}/${:_buildout_section_name_}
Nicolas Wavrant's avatar
Nicolas Wavrant committed
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 117 118 119 120
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = parameters.xml.in 
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
131
  netaddr
Nicolas Wavrant's avatar
Nicolas Wavrant committed
132 133
  plone.recipe.command
  pytz
134
  slapos.cookbook
135
  slapos.libnetworkcache
Nicolas Wavrant's avatar
Nicolas Wavrant committed
136
  slapos.recipe.build
137 138
  slapos.toolbox[flask_auth]
  slapos.core
139
  xml_marshaller
140
  Gunicorn
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157

# 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