software.cfg 3.12 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
[buildout]

extends =
  ../../component/dash/buildout.cfg
  ../../component/git/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/openssl/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/kerberos/buildout.cfg
  ../../component/python-kerberos/buildout.cfg
  ../../component/gateone/buildout.cfg
  ../../component/dtach/buildout.cfg
  ../../component/python-2.7/buildout.cfg
  ../../component/nginx/buildout.cfg
  ../../stack/slapos.cfg

parts = 
  slapos-cookbook
  kerberos
  eggs
  gateone-develop
  gateone
  dash
  check-recipe
  template
  

[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  ${python-cryptography:egg}
  ${python-kerberos:egg}
  tornado
scripts =
  slapos-kill

[extra-eggs]
recipe = zc.recipe.egg
interpreter = python
eggs =
  ${lxml-python:egg}
  ${python-kerberos:egg}
  tornado
  gateone
  setuptools
  pyOpenSSL
  futures


[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git
branch = re6st-master
git-executable = ${git:location}/bin/git

[download-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
mode = 644

[template-jinja2-base]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${buildout:directory}/${:filename}
# XXX: extra-context is needed because we cannot append to a key of an extended
# section.
extra-context =
context =
    key bin_directory buildout:bin-directory
    key develop_eggs_directory buildout:develop-eggs-directory
    key eggs_directory buildout:eggs-directory
    ${:extra-context}


[template]
< = template-jinja2-base
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
md5sum = 428669a609aca3e0a7cae1387d332a75
extra-context =
    key dash_location dash:location
    key dtach_location dtach:location
    key gateone_location gateone-repository:location
    key logrotate_location logrotate:location
    key nginx_location nginx:location
    key openssl_location openssl:location
    key readline_location readline:location
    key template_nginx_conf template-nginx-conf:target
    key template_logrotate_base template-logrotate-base:rendered
    key template_gateone template-gateone:target
    raw gateone_bin ${buildout:bin-directory}/gateone
    raw python_with_eggs ${buildout:directory}/bin/${extra-eggs:interpreter}

[template-gateone]
< = download-base
filename = instance-gateone.cfg.in
md5sum = e7096a17c36c3bd27a011de57b7abfc1

[template-logrotate-base]
< = template-jinja2-base
filename = instance-logrotate-base.cfg
md5sum = f28fbd310944f321ccb34b2a34c82005
extra-context =
    key dcron_location dcron:location
    key gzip_location gzip:location
    key logrotate_location logrotate:location

[template-nginx-conf]
< = download-base
url = ${:_profile_base_location_}/templates/${:filename}.in
filename = nginx.conf
md5sum = 72f4cc110f618b317793e21124f45121

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/gateone.egg-link

[versions]