[buildout] slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook develop = ${:slaposcookbook_recipe_location} extensions = slapos.zcbworkarounds slapos.rebootstrap find-links += http://www.nexedi.org/static/packages/source/slapos.buildout/ extends = ../../component/git/buildout.cfg ../../component/mysql-tritonn-5.0/buildout.cfg ../../component/dcron/buildout.cfg ../../component/logrotate/buildout.cfg ../../component/stunnel/buildout.cfg ../../component/python-2.7/buildout.cfg ../../component/perl/buildout.cfg ../../component/xtrabackup/buildout.cfg ../../component/rdiff-backup/buildout.cfg ../../component/lxml-python/buildout.cfg versions = versions parts += # Create instance template #TODO : list here all parts. template libxslt eggs instance-recipe-egg # XXX: Workaround of SlapOS limitation # Unzippig of eggs is required, as SlapOS do not yet provide nicely working # development / fast switching environment for whole software unzip = true [sources] # Include information related to official mysql source code. mysql = git http://git.erp5.org/repos/slapos.git branch=mysql [rebootstrap] # Default first version of rebootstrapped python version = 2 section = python2.7 [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 # - we cannot rely on anything else being executed before [instance-recipe] slaposcookbook_dummy = ${slaposcookbook:location} recipe = zc.recipe.egg python = python2.7 eggs = ${instance-recipe:egg} [eggs] recipe = zc.recipe.egg python = python2.7 eggs = ${lxml-python:egg} [template] # Default template for the instance. recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg md5sum = e8eb5f2b0f5449ffcc454e92f995c6c8 output = ${buildout:directory}/template.cfg mode = 0644 [slaposcookbook] recipe = plone.recipe.command git_param =--quiet -b mysql git = ${git:location}/bin/git location = ${buildout:parts-directory}/${:_buildout_section_name_} stop-on-error = true command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1; update-command = cd ${:location} && ${git:location}/bin/git pull --quiet [versions] # Required by: # slapos.cookbook==0.1 collective.recipe.template = 1.8 netaddr = 0.7.5 xml-marshaller = 0.9.7 zc.buildout=1.5.3-dev-SlapOS-001 setuptools = 0.6c12dev-r88795