MySQL software release : separating instance-recipe from instance-recipe-egg

parent 8429e81c
......@@ -24,7 +24,7 @@ versions = versions
parts +=
# Create instance template
template
instance-recipe
instance-recipe-egg
# XXX: Workaround of SlapOS limitation
# Unzippig of eggs is required, as SlapOS do not yet provide nicely working
......@@ -46,6 +46,10 @@ command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:lo
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe]
egg = slapos.cookbook
module = mysql
[instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
......@@ -53,10 +57,7 @@ update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg
#python = python2.6
egg = slapos.cookbook
module = mysql
eggs = ${:egg}
eggs = ${instance-recipe:egg}
[template]
# Default template for the instance.
......
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