[buildout]
extends = ${template:output}

[switch_softwaretype]
default = $${:test}
RootSoftwareInstance = $${:test}

# Used for the test of resiliency. The system wants a "test" software_type.
test = dynamic-template-resilient-test:rendered

[dynamic-template-resilient-test]
recipe = slapos.recipe.template:jinja2
template = ${template-resilient-test:target}
rendered = $${buildout:directory}/template-resilient-test.cfg
bin-directory = ${buildout:bin-directory}
context =
    key develop_eggs_directory buildout:develop-eggs-directory
    key eggs_directory buildout:eggs-directory
    key slapparameter_dict slap-configuration:configuration
    raw bin_directory ${buildout:bin-directory}
    ${template-resilient-test:extra-context}
