slaprunner: add configurable cpu-ratio parameter
[slapos.git] / software / neoppod / software.cfg
1 # Note on LXML/END LXML: they delimit areas where lxml magic is needed. lxml is
2 # a slapos.cookbook dependency, so it should be fetched automatically. But when
3 # automatically fetched, it gets built against system headers/libs, which is
4 # forbidden in slapos. So we need to fetch lxml explicitly so it is properly
5 # built.
6
7 [buildout]
8 extends =
9     ../../stack/slapos.cfg
10 #LXML
11     ../../component/lxml-python/buildout.cfg
12 #END LXML
13     ../../component/python-2.7/buildout.cfg
14     ../../component/mariadb/buildout.cfg
15     ../../component/mysql-python/buildout.cfg
16
17 parts =
18     slapos-deps-eggs
19     slapos-cookbook
20 # NEO & dependencies
21     python2.7
22     mariadb
23     mysql-python
24     neoppod
25 # NEO instanciation
26     template-instance
27
28 [slapos-deps-eggs]
29 recipe = zc.recipe.egg
30 eggs =
31 #LXML
32     ${lxml-python:egg}
33 #END LXML
34
35 [base-template]
36 recipe = slapos.recipe.template:jinja2
37 template = ${:_profile_base_location_}/${:filename}.in
38 rendered = ${buildout:directory}/${:filename}
39 extensions = jinja2.ext.do
40 extra-context =
41 context =
42     key eggs_directory buildout:eggs-directory
43     key develop_eggs_directory buildout:develop-eggs-directory
44     key bin_directory buildout:bin-directory
45     ${:extra-context}
46
47 [template-neo-master]
48 < = base-template
49 filename = instance-neo-master.cfg
50 md5sum = 8947620b15535b95163c11a0efab546e
51
52 [template-neo-storage-mysql]
53 < = base-template
54 filename = instance-neo-storage-mysql.cfg
55 md5sum = 518c8c41ce73f0b608fbb1c3b889ca1b
56 extra-context =
57     key mariadb_location mariadb:location
58     key master_cfg template-neo-master:rendered
59
60 [template-neo-admin]
61 < = base-template
62 filename = instance-neo-admin.cfg
63 md5sum = 987f69333c563898cab21455509f8024
64
65 [template-cluster]
66 recipe = slapos.recipe.build:download
67 url = ${:_profile_base_location_}/cluster.cfg.in
68 md5sum = 7177d129e171b20044bf435ed549af43
69
70 [template-instance]
71 < = base-template
72 template = ${:_profile_base_location_}/instance.cfg.in
73 # XXX: "template.cfg" is hardcoded in instanciation recipe
74 filename = template.cfg
75 md5sum = 17e761b371487b55b39da1c39ebb1bb6
76 extra-context =
77     key neo_master template-neo-master:rendered
78     key neo_storage_mysql template-neo-storage-mysql:rendered
79     key neo_admin template-neo-admin:rendered
80     key cluster template-cluster:target
81
82 [neoppod]
83 recipe = zc.recipe.egg
84 eggs = neoppod[admin, master, storage-mysqldb]