software.cfg 2.93 KB
Newer Older
1 2 3 4 5 6 7 8 9
[buildout]

extends =
  ../../component/dash/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/openssl/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/apache/buildout.cfg
10
  ../../component/pycurl/buildout.cfg
11
  ../../component/python-cryptography/buildout.cfg
12 13
  ../../stack/slapos.cfg

14 15 16 17
# Monitoring stack (keep on bottom)
  ../../stack/monitor/buildout.cfg

parts +=
18 19 20 21 22 23 24 25 26
  slapos-cookbook
  eggs
  dash
  template

[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
27
  ${pycurl:egg}
28
  ${python-cryptography:egg}
29 30 31
  slapos.toolbox
scripts =
  slapos-kill
32 33 34 35 36
  monitor.bootstrap
  monitor.collect
  monitor.genstatus
  monitor.configwrite
  is-process-older-than-dependency-set
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

[extra-eggs]
recipe = zc.recipe.egg
interpreter = pythonwitheggs
eggs =
  ${lxml-python:egg}
  ${python-cffi:egg}
  ${python-cryptography:egg}
  pyOpenSSL
  re6stnet

[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
71
md5sum = 610fc6fd0444d3bab3fca4478572749a
72 73 74
extra-context =
    key apache_location apache:location
    key dash_location dash:location
75
    key logrotate_location logrotate:location
76 77 78 79 80
    key openssl_location openssl:location
    key template_apache_conf template-apache-conf:target
    key template_re6stnet template-re6stnet:target
    key template_re6st_registry_conf template-re6st-registry-conf:target
    key template_logrotate_base template-logrotate-base:rendered
81
    key template_wrapper template-wrapper:target
82
    key template_registry_run template-registry-run:target
83
    key monitor2_template_rendered monitor2-template:rendered
84 85 86 87 88
    raw python_with_eggs ${buildout:directory}/bin/${extra-eggs:interpreter}

[template-re6stnet]
< = download-base
filename = instance-re6stnet.cfg.in
89
md5sum = 09683c66c16361b77867d8f2e1140a35
90 91 92 93

[template-apache-conf]
< = download-base
filename = apache.conf.in
94
md5sum = d64cafda1139b740a49a9f5e30a1b57b
95 96 97 98

[template-re6st-registry-conf]
< = download-base
filename = re6st-registry.conf.in
99
md5sum = b85375cd45c5f2fb0d68e449ae70e2a1
100

101 102 103 104 105
[template-wrapper]
< = download-base
filename = wrapper.in
md5sum = 69e63cb58267335e21da772bd867657e

106 107 108 109 110
[template-registry-run]
< = download-base
filename = registry-run.in
md5sum = 0bf4f2c03e06b55c6c6cc55fa33e65d6

111
[versions]
Killian Lufau's avatar
Killian Lufau committed
112
re6stnet = 0.530
113
slapos.recipe.template = 4.3
114 115

# Required by:
Killian Lufau's avatar
Killian Lufau committed
116
# re6stnet==0.530
117 118
miniupnpc = 1.9