Commit 313f659c authored by Tatuya Kamada's avatar Tatuya Kamada

Simplify to set zope instance parameter.

parent 47ee4f2e
......@@ -306,7 +306,7 @@ md5sum = d1cf938074b4b2f407122a40991bfef2
[template-zope]
< = download-base
filename = instance-zope.cfg.in
md5sum = 21842729ad27757c398bc98cf89f2d3c
md5sum = e9295963cf22b97819084b7aab056ffd
link-binary =
${aspell:location}/bin/aspell
${dmtx-utils:location}/bin/dmtxwrite
......
......@@ -46,8 +46,7 @@ ca-crl = ${directory:test-ca-crl}
recipe = slapos.cookbook:mkdirectory
bin = ${buildout:directory}/bin
etc = ${buildout:directory}/etc
{% set zope_instance_home = slapparameter_dict.get('instance') or '${:srv}/erp5shared' %}
instance = {{ zope_instance_home }}
instance = {{ slapparameter_dict.get('instance') or '${:srv}/erp5shared' }}
instance-constraint = ${:instance}/Constraint
instance-document = ${:instance}/Document
instance-etc = ${:instance}/etc
......
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