Commit 7aa1d92c authored by Vincent Pelletier's avatar Vincent Pelletier

Factorise download sections.

parent 93d061ee
......@@ -139,6 +139,11 @@ parts =
# Create instance template
template
[download-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
mode = 640
# Local development
[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
......@@ -179,34 +184,29 @@ context =
${:extra-context}
[template-mariadb]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-mariadb.cfg.in
< = download-base
filename = instance-mariadb.cfg.in
md5sum = 0e67f6d8b7de909be1324c680cabe8f0
mode = 640
[template-zope]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-zope.cfg.in
< = download-base
filename = instance-zope.cfg.in
md5sum = 7b1b6ee1fd122f5590844a90853622dc
mode = 640
[template-kumofs]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-kumofs.cfg.in
< = download-base
filename = instance-kumofs.cfg.in
md5sum = 62759c4cbb586bd4d0dcf82c08654e7a
mode = 640
[template-cloudooo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
< = download-base
filename = instance-cloudoo.cfg.in
md5sum = 24fc2dccc7ec20ec317ac4a9530ce6ac
mode = 640
[template-zope-conf]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/zope.conf.in
< = download-base
filename = zope.conf.in
md5sum = c4c42d06c63d33de703fc03415e34d84
mode = 640
[template]
< = template-jinja2-base
......@@ -279,40 +279,34 @@ extra-context =
key zlib_location zlib:location
[template-memcached]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-memcached.cfg.in
< = download-base
filename = instance-memcached.cfg.in
md5sum = 25bffcb311aa0a202e68399a413fd780
mode = 640
[template-erp5-single]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
< = download-base
filename = instance-erp5-single.cfg.in
md5sum = f82d59347fdf707ffd671654d318ca70
mode = 640
[template-erp5-cluster]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
< = download-base
filename = instance-erp5-cluster.cfg.in
md5sum = b044df76edad94dc5bfc2729e3041573
mode = 640
[template-zeo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-zeo.cfg.in
< = download-base
filename = instance-zeo.cfg.in
md5sum = 9d49e6787600a416545a8ff228abb720
mode = 640
[template-cluster-zope]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cluster-zope.cfg.in
< = download-base
filename = instance-cluster-zope.cfg.in
md5sum = 22c351ae5edd507e8cd3de1abeb705f3
mode = 640
[template-balancer]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-balancer.cfg.in
< = download-base
filename = instance-balancer.cfg.in
md5sum = 787fa10c0dc4e607706c572ba8e06386
mode = 640
[template-logrotate-base]
< = template-jinja2-base
......@@ -324,10 +318,9 @@ extra-context =
key logrotate_location logrotate:location
[template-varnish]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in
< = download-base
filename = instance-varnish.cfg.in
md5sum = f7c47ffc3e23e07f81eb4ca172286ccc
mode = 640
[bt5-repository]
# Format:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment