software.cfg 2.07 KB
Newer Older
1
[buildout]
2

3
extensions =
4 5
  slapos.tool.networkcache
  slapos.zcbworkarounds
6
  slapos.rebootstrap
7

8
find-links +=
9 10 11
    http://www.nexedi.org/static/packages/source/slapos.buildout/

extends =
12
  ../../component/git/buildout.cfg
13
  ../../component/mysql-5.1/buildout.cfg
14
  ../../component/dcron/buildout.cfg
15
  ../../component/logrotate/buildout.cfg
16
  ../../component/python-2.7/buildout.cfg
17
  ../../component/perl/buildout.cfg
18
  ../../component/xtrabackup/buildout.cfg
19

20 21 22 23
versions = versions

parts +=
# Create instance template
24
#TODO : list here all parts.
25
  template
26
  instance-recipe-egg
27 28 29 30 31 32

# 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

33
[rebootstrap]
34
# Default first version of rebootstrapped python
35 36
version = 2
section = python2.7
37

38
[instance-recipe]
39 40 41 42
egg = slapos.cookbook
module = mysql

[instance-recipe-egg]
43 44 45 46 47
# 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}
48 49
recipe = zc.recipe.egg
#python = python2.6
50
eggs = ${instance-recipe:egg}
51 52

[template]
53
# Default template for the instance.
54
recipe = slapos.recipe.template
55
url = ${:_profile_base_location_}/instance.cfg
56
md5sum = f5e422ac5982fe9339d2beb5fecd5926
57 58 59
output = ${buildout:directory}/template.cfg
mode = 0644

60 61 62 63 64 65 66 67 68
[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

69 70 71
[versions]
# Required by:
# slapos.cookbook==0.1
72 73 74 75
collective.recipe.template = 1.8
slapos.slap = 1.2.dev-r4679
netaddr = 0.7.5
xml-marshaller = 0.9.7
76

77 78
zc.buildout=1.5.3-dev-SlapOS-002
setuptools = 0.6c12dev-r88795