{% set zodb_dict = {} -%}
{% for export_id, mountpoint_dict in slapparameter_dict['zodb-dict'].items() -%}
{% do zodb_dict.__setitem__(export_id, [
mountpoint_dict.get('mount-point', '/'),
mountpoint_dict.get('cache-size', -1),
mountpoint_dict.get('storage-dict', {}),
]) -%}
{% endfor -%}
[publish]
recipe = slapos.cookbook:publish.serialised
zodb-storage-type = NEOStorage
zodb-dict = {{ dumps(zodb_dict) }}
[buildout]
parts +=
publish
-
Julien Muchembled authored
The inline recipe for ERP5 has been improved and converted into recipe, which is reused for NEO. Templates are instanciated only if they're used, so no need anymore to wrap them with: {% if slap_software_type == software_type -%} ... {% endif %}
7ece1a48