Memcached software instance : update software.cfg, using mysql as model

parent 63b16c29
[buildout] [buildout]
slaposcookbook_location = ${:parts-directory}/slaposcookbook
develop = ${:slaposcookbook_location}
extensions = extensions =
slapos.rebootstrap
slapos.tool.networkcache slapos.tool.networkcache
slapos.zcbworkarounds slapos.zcbworkarounds
#slapos.rebootstrap
find-links = find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/ http://www.nexedi.org/static/packages/source/slapos.buildout/
extends = extends =
../../component/git/buildout.cfg
../../component/memcached/buildout.cfg ../../component/memcached/buildout.cfg
versions = versions versions = versions
...@@ -15,23 +20,46 @@ versions = versions ...@@ -15,23 +20,46 @@ versions = versions
parts += parts +=
# Create instance template # Create instance template
template template
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
# development / fast switching environment for whole software # development / fast switching environment for whole software
unzip = true unzip = true
#[rebootstrap]
# Default first version of rebootstrapped python
#version = 2
#section = python2.7
[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
[instance-recipe] [instance-recipe]
# Note: In case if specific instantiation recipe is used this is the place to
# put its name
egg = slapos.cookbook egg = slapos.cookbook
module = memcached module = memcached
[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.6
eggs = ${instance-recipe:egg}
[template] [template]
# Default template for erp5 instance. # Default template for the instance.
recipe = slapos.cookbook:template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg url = ${:_profile_base_location_}/instance.cfg
md5sum = 1b29b27aedcc7fa5f30f1053e8eab13f #md5sum = 1b29b27aedcc7fa5f30f1053e8eab13f
output = ${buildout:directory}/template.cfg output = ${buildout:directory}/template.cfg
mode = 0644 mode = 0644
...@@ -39,18 +67,9 @@ mode = 0644 ...@@ -39,18 +67,9 @@ mode = 0644
# Required by: # Required by:
# slapos.cookbook==0.1 # slapos.cookbook==0.1
collective.recipe.template = 1.8 collective.recipe.template = 1.8
slapos.slap = 1.2.dev-r4679
# Required by:
# slapos.cookbook==0.1
netaddr = 0.7.5 netaddr = 0.7.5
xml-marshaller = 0.9.7
zc.buildout==1.5.3-dev-SlapOS-001 zc.buildout=1.5.3-dev-SlapOS-002
setuptools = 0.6c12dev-r88795 setuptools = 0.6c12dev-r88795
\ No newline at end of file
# Required by:
# slapos.cookbook==0.1
slapos.slap = 1.2.dev-r4679
# Required by:
# slapos.cookbook==0.1
xml-marshaller = 0.9.7
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