instance.cfg.in 626 Bytes
Newer Older
1
[buildout]
2
extends = {{ instance_common_cfg }}
3

4 5 6 7 8 9
[jinja2-template-base]
rendered = ${buildout:parts-directory}/${:_buildout_section_name_}.cfg

[neo-cluster]
<= jinja2-template-base
template = {{ cluster }}
10 11
extra-context =
    import urlparse urlparse
12 13
import-list =
    rawfile root_common {{ root_common }}
14

15 16 17 18
[neo-storage-mysql]
extra-context +=
    raw runTestSuite_in {{ runTestSuite_in }}

19
[switch-softwaretype]
20 21 22
recipe = slapos.cookbook:switch-softwaretype
override = {{ dumps(override_switch_softwaretype |default) }}
default = neo-cluster:rendered
23 24
# BBB
RootSoftwareInstance = ${:default}
25
neo = neo-storage-mysql:rendered