software.cfg 933 Bytes
Newer Older
1 2
[buildout]

3 4
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook

5 6 7 8 9 10 11 12 13 14 15
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com

16 17
develop =
  ${:slaposcookbook_recipe_location}
Vivien Alger's avatar
Vivien Alger committed
18

19 20
extends =
  ../../stack/kvm.cfg
21

22 23
parts +=
  template
24 25
  instance-recipe-egg

26 27 28
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
29
#md5sum = 6dd35876f5877fcab99f8d910058e076
30 31
output = ${buildout:directory}/template.cfg
mode = 0644
32

33 34
[slaposcookbook]
recipe = plone.recipe.command
35
git_param = --quiet -b kvm
36 37 38 39 40
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