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