common.cfg 1.96 KB
Newer Older
1 2
[buildout]
extends =
3
  ../../component/bash/buildout.cfg
4
  ../../component/cloud9/buildout.cfg
5
  ../../component/curl/buildout.cfg
6 7 8 9
  ../../component/dash/buildout.cfg
  ../../component/dropbear/buildout.cfg
  ../../component/git/buildout.cfg
  ../../component/lxml-python/buildout.cfg
10
  ../../component/rsync/buildout.cfg
11 12
  ../../stack/flask.cfg
  ../../stack/shacache-client.cfg
13
  ../../stack/resilient/buildout.cfg
14 15 16
  ../../stack/slapos.cfg

parts =
17
  slapos.cookbook-repository
18
  rdiff-backup
19 20 21
  template
  eggs

22 23 24
  instance-runner-import
  instance-runner-export

25 26
#  slapos-cookbook

27 28 29 30 31
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
32
#md5sum = 5307e4200f044ae57b504ad68444491c
33 34 35 36 37

[template-runner]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
#md5sum = 91d6550c43b7a43a999724af4650ae40
mode = 0644

[instance-resilient]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
rendered = ${buildout:directory}/instance-resilient.cfg

context = key buildout buildout:bin-directory
          key develop_eggs_directory buildout:develop-eggs-directory
          key eggs_directory buildout:eggs-directory

import-list = file parts template-parts:destination
              file replicated template-replicated:destination

mode = 0644

[instance-runner-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
mode = 0644

[instance-runner-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
output = ${buildout:directory}/instance-runner-export.cfg
65 66 67 68 69 70 71 72 73 74
mode = 0644

[eggs]
recipe = z3c.recipe.scripts
eggs =
  ${lxml-python:egg}
  slapos.libnetworkcache
  slapos.toolbox[flask_auth]
  slapos.core
  cns.recipe.symlink