Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos
Commits
313f659c
Commit
313f659c
authored
Apr 04, 2017
by
Tatuya Kamada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify to set zope instance parameter.
parent
47ee4f2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+1
-2
No files found.
stack/erp5/buildout.cfg
View file @
313f659c
...
...
@@ -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
...
...
stack/erp5/instance-zope.cfg.in
View file @
313f659c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment