[buildout]
extends = {{ instance_common_cfg }}

[jinja2-template-base]
rendered = ${buildout:parts-directory}/${:_buildout_section_name_}.cfg

[neo-cluster]
<= jinja2-template-base
template = {{ cluster }}
extra-context =
    import urlparse urlparse
import-list =
    rawfile root_common {{ root_common }}

[neo-storage-mysql]
extra-context +=
    raw runTestSuite_in {{ runTestSuite_in }}

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