common.cfg 4.58 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
  ../../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
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 = 9878115a2969489b57e8563ef3d4d6d3
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 = 354ff83819e8379f5e4a2e2985e34e9e
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 = 6930a0d6c88896c43a8e60509ba6bd1c
77 78
mode = 0644

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

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

127 128 129
[parameters-template]
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
[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
140
  collective.recipe.environment
141
  cns.recipe.symlink
142
  erp5.util
143 144
  hexagonit.recipe.download
  inotifyx
145
  lock-file
146
  lxml
147
  netaddr
148 149
  plone.recipe.command
  pytz
150
  slapos.cookbook
151
  slapos.libnetworkcache
152
  slapos.recipe.build
153 154
  slapos.toolbox[flask_auth]
  slapos.core
155
  xml_marshaller
156
  Gunicorn
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173

# 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