MySQL software release : Trying to make cookbook part run before the others

parent 4da9bd01
...@@ -21,6 +21,7 @@ versions = versions ...@@ -21,6 +21,7 @@ versions = versions
parts += parts +=
# Create instance template # Create instance template
instance-recipe
template template
# XXX: Workaround of SlapOS limitation # XXX: Workaround of SlapOS limitation
...@@ -33,13 +34,6 @@ unzip = true ...@@ -33,13 +34,6 @@ unzip = true
#version = 2 #version = 2
#section = python2.7 #section = python2.7
[eggs]
# Just so buildout executes [bef_erp5-recipe] before [eggs], as
# - [eggs] references [bef_erp5-recipe]
# - [instance-recipe] needs [bef_erp5-recipe] to be finished
# - we cannot rely on anything else being executed before [eggs]
slaposcookbook_dummy = ${slaposcookbook:location}
[slaposcookbook] [slaposcookbook]
recipe = plone.recipe.command recipe = plone.recipe.command
git_param =--quiet -b mysql git_param =--quiet -b mysql
...@@ -49,9 +43,14 @@ stop-on-error = true ...@@ -49,9 +43,14 @@ stop-on-error = true
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe] [instance-recipe]
# Note: In case if specific instantiation recipe is used this is the place to # Just so buildout executes [slaposcookbook] before [eggs], as
# put its name # - [eggs] references [slaposcookbook]
egg = slapos.cookbook # - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg
#python = python2.6
eggs = slapos.cookbook
module = mysql module = mysql
[template] [template]
......
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