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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
30e24286
Commit
30e24286
authored
Oct 18, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround slapos.recipe.template bug.
Keys are becoming lowercased.
parent
979329f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
slapos/recipe/generic_zope/__init__.py
slapos/recipe/generic_zope/__init__.py
+1
-1
software/erp5/instance-zope.cfg
software/erp5/instance-zope.cfg
+7
-6
No files found.
slapos/recipe/generic_zope/__init__.py
View file @
30e24286
...
@@ -121,7 +121,7 @@ class Recipe(GenericBaseRecipe):
...
@@ -121,7 +121,7 @@ class Recipe(GenericBaseRecipe):
if
product
:
if
product
:
prefixed_products
.
append
(
'products %s'
%
product
)
prefixed_products
.
append
(
'products %s'
%
product
)
prefixed_products
.
insert
(
0
,
'products %s'
%
self
.
options
[
prefixed_products
.
insert
(
0
,
'products %s'
%
self
.
options
[
'instance-
P
roducts'
])
'instance-
p
roducts'
])
zope_config
[
'products'
]
=
'
\
n
'
.
join
(
prefixed_products
)
zope_config
[
'products'
]
=
'
\
n
'
.
join
(
prefixed_products
)
zope_config
[
'address'
]
=
'%s:%s'
%
(
self
.
options
[
'ip'
],
self
.
options
[
'port'
])
zope_config
[
'address'
]
=
'%s:%s'
%
(
self
.
options
[
'ip'
],
self
.
options
[
'port'
])
...
...
software/erp5/instance-zope.cfg
View file @
30e24286
...
@@ -34,7 +34,7 @@ deadlock-path = /manage_debug_threads
...
@@ -34,7 +34,7 @@ deadlock-path = /manage_debug_threads
wrapper = $${basedirectory:services}/zope_development
wrapper = $${basedirectory:services}/zope_development
instance-path = $${directory:instance}
instance-path = $${directory:instance}
instance-etc = $${directory:instance-etc}
instance-etc = $${directory:instance-etc}
instance-
Products = $${directory:instance-P
roducts}
instance-
products = $${directory:instance-p
roducts}
tmp-path = $${rootdirectory:tmp}
tmp-path = $${rootdirectory:tmp}
bin-path = $${rootdirectory:bin}
bin-path = $${rootdirectory:bin}
site-zcml = $${:instance-etc}/site.zcml
site-zcml = $${:instance-etc}/site.zcml
...
@@ -115,11 +115,12 @@ zodb = $${rootdirectory:srv}/zodb/
...
@@ -115,11 +115,12 @@ zodb = $${rootdirectory:srv}/zodb/
instance = $${rootdirectory:srv}/erp5shared/
instance = $${rootdirectory:srv}/erp5shared/
instance-etc = $${:instance}/etc
instance-etc = $${:instance}/etc
instance-etc-package-include = $${:instance}/etc/package-include
instance-etc-package-include = $${:instance}/etc/package-include
instance-Document = $${:instance}/Document
# because of bug in slapos.recipe.template keys are lowercased
instance-PropertySheet = $${:instance}/PropertySheet
instance-document = $${:instance}/Document
instance-Products = $${:instance}/Products
instance-propertysheet = $${:instance}/PropertySheet
instance-Extensions = $${:instance}/Extensions
instance-products = $${:instance}/Products
instance-Constraint = $${:instance}/Constraint
instance-extensions = $${:instance}/Extensions
instance-constraint = $${:instance}/Constraint
instance-import = $${:instance}/import
instance-import = $${:instance}/import
instance-lib = $${:instance}/lib
instance-lib = $${:instance}/lib
instance-tests = $${:instance}/tests
instance-tests = $${:instance}/tests
...
...
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