diff --git a/software/mysql/software.cfg b/software/mysql/software.cfg index 2c4da121beb1dc8ba3194ca29abb95926b14b499..e97c20c03150c29f9f18fe1c1b8f3c4cac7ca213 100644 --- a/software/mysql/software.cfg +++ b/software/mysql/software.cfg @@ -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.