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

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