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
Esteban Blanc
slapos
Commits
7563c00f
Commit
7563c00f
authored
Oct 18, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose inituser directly.
parent
a3012946
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
slapos/recipe/generic_zope/__init__.py
slapos/recipe/generic_zope/__init__.py
+2
-3
software/erp5/instance-zope.cfg
software/erp5/instance-zope.cfg
+1
-1
No files found.
slapos/recipe/generic_zope/__init__.py
View file @
7563c00f
...
...
@@ -52,9 +52,8 @@ class Recipe(GenericBaseRecipe):
So, do not request zope instance and create multiple in the same partition.
"""
path_list
=
[]
Zope2InitUser
(
os
.
path
.
join
(
self
.
erp5_directory
,
"inituser"
),
self
.
options
[
'user'
],
self
.
options
[
'password'
])
Zope2InitUser
(
self
.
options
[
'inituser'
],
self
.
options
[
'user'
],
self
.
options
[
'password'
])
# Symlink to BT5 repositories defined in instance config.
# Those paths will eventually end up in the ZODB, and having symlinks
...
...
software/erp5/instance-zope.cfg
View file @
7563c00f
...
...
@@ -44,7 +44,7 @@ lock = $${basedirectory:run}/zope.lock
event-log = $${basedirectory:log}/zope-event.log
z2-log = $${basedirectory:log}/zope-Z2.log
conf-file = $${rootdirectory:etc}/zope.conf
inituser = $${:instance-path}/inituser
# Binary information
runzope-binary = ${buildout:bin-directory}/runzope
...
...
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