Commit 84ca2ae0 authored by Julien Muchembled's avatar Julien Muchembled

ERP5: prevent zope to start as long as the list of NEO master nodes is unknown

parent 836309f4
...@@ -288,7 +288,7 @@ md5sum = 9670cf63099e2c520017a23defff51a4 ...@@ -288,7 +288,7 @@ md5sum = 9670cf63099e2c520017a23defff51a4
[template-zope] [template-zope]
<= download-base <= download-base
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = 35f05cb0f8c8dc9c52bc02984bde49f5 md5sum = 74f2fbd7d653b0e6cfe29efcd1042ace
link-binary = link-binary =
${aspell:location}/bin/aspell ${aspell:location}/bin/aspell
${dmtx-utils:location}/bin/dmtxwrite ${dmtx-utils:location}/bin/dmtxwrite
......
...@@ -254,6 +254,7 @@ node-id = {{ dumps(node_id_base ~ '-' ~ index) }} ...@@ -254,6 +254,7 @@ node-id = {{ dumps(node_id_base ~ '-' ~ index) }}
{% do zodb['storage-dict'].__setitem__('name', slapparameter_dict['neo-cluster']) -%} {% do zodb['storage-dict'].__setitem__('name', slapparameter_dict['neo-cluster']) -%}
{% do zodb['storage-dict'].__setitem__('master_nodes', slapparameter_dict['neo-masters']) -%} {% do zodb['storage-dict'].__setitem__('master_nodes', slapparameter_dict['neo-masters']) -%}
{% endif -%} {% endif -%}
{{ assert(zodb['storage-dict']['master_nodes'], db_name) }}
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}
import-list = {{ dumps(list(import_set)) }} import-list = {{ dumps(list(import_set)) }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment