instance-neo.cfg.in 469 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{% 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