Commit 10f10617 authored by HongzheWang's avatar HongzheWang

software:add file buildout.hash.cfg for some software

parent f20f2c06
[template]
filename = instance.cfg.in
md5sum = d7506e861ef87977eaa554b8928d2c99
[instance-root]
filename = instance-root.cfg.in
md5sum = 1c0e222aab51dfc598094e972f1d1482
[instance-server]
filename = instance-server.cfg.in
md5sum = 88a451b0f7f8def12713b92b91659b98
[proxy]
filename = proxy
md5sum = 78b77a6bda9958f547f7d89b747731e3
[buildout]
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../component/rina-tools/buildout.cfg
parts =
......@@ -16,8 +17,7 @@ environment +=
[template]
recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/instance.cfg.in
md5sum = d7506e861ef87977eaa554b8928d2c99
url = ${:_profile_base_location_}/${:filename}
# XXX: "template.cfg" is hardcoded in instanciation recipe
output = ${buildout:directory}/template.cfg
context =
......@@ -30,21 +30,18 @@ context =
[download-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
url = ${:_profile_base_location_}/${:filename}
[instance-root]
<= download-base
md5sum = 1c0e222aab51dfc598094e972f1d1482
[instance-server]
<= download-base
md5sum = 88a451b0f7f8def12713b92b91659b98
[proxy]
recipe = slapos.recipe.build
location = ${buildout:bin-directory}/${:_buildout_section_name_}
url = ${:_profile_base_location_}/${:_buildout_section_name_}
md5sum = 78b77a6bda9958f547f7d89b747731e3
url = ${:_profile_base_location_}/${:filename}
install =
import os, sys
with open(self.download(options['url'], options['md5sum'])) as src, \
......
[instance]
filename = instance.cfg.in
md5sum = f55bd8f13859a6fc16db90fe5ffad52c
[buildout]
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../component/postgresql/buildout.cfg
......@@ -9,12 +10,10 @@ parts =
instance
postgresql
#----------------
#-- Instance-level buildout profiles.
[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg
md5sum = d8b833a2054b82b6031a9420008b58fd
[template]
filename = instance.cfg
md5sum = 98a680fe8fddce5dcee455e65c228fde
[buildout]
extends =
buildout.hash.cfg
../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/zabbix/buildout.cfg
......@@ -13,6 +14,5 @@ parts =
[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
md5sum = 98a680fe8fddce5dcee455e65c228fde
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/template.cfg
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