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

# 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