Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
c04bdf35
Commit
c04bdf35
authored
Jun 24, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'erp5-component' into erp5
parents
198c642a
837f4bd3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
slapos/recipe/haproxy/__init__.py
slapos/recipe/haproxy/__init__.py
+2
-2
slapos/recipe/librecipe/generic.py
slapos/recipe/librecipe/generic.py
+1
-1
slapos/recipe/wrapper.py
slapos/recipe/wrapper.py
+1
-1
software/jio/instance.cfg.in
software/jio/instance.cfg.in
+1
-1
No files found.
slapos/recipe/haproxy/__init__.py
View file @
c04bdf35
...
...
@@ -112,8 +112,8 @@ class Recipe(GenericBaseRecipe):
self
.
options
[
'conf-path'
],
self
.
substituteTemplate
(
self
.
getTemplateFilename
(
'haproxy.cfg.in'
),
{
'socket_path'
:
self
.
options
[
'socket-path'
]
}
,
{
'server_text'
:
server_snippet
},
{
'socket_path'
:
self
.
options
[
'socket-path'
],
'server_text'
:
server_snippet
},
)
)
wrapper_path
=
self
.
createPythonScript
(
...
...
slapos/recipe/librecipe/generic.py
View file @
c04bdf35
...
...
@@ -156,7 +156,7 @@ class GenericBaseRecipe(object):
if
parameters_extra
:
# pass-through further parameters
lines
[
-
1
]
+=
'
\
\
'
lines
.
append
(
'
\
t
$@
'
)
lines
.
append
(
'
\
t
"$@"
'
)
content
=
'
\
n
'
.
join
(
lines
)
+
'
\
n
'
return
self
.
createFile
(
name
,
content
,
0700
)
...
...
slapos/recipe/wrapper.py
View file @
c04bdf35
...
...
@@ -35,7 +35,7 @@ class Recipe(GenericBaseRecipe):
wrapper_path
=
self
.
options
[
'wrapper-path'
]
wait_files
=
self
.
options
.
get
(
'wait-for-files'
)
environment
=
self
.
options
.
get
(
'environment'
)
parameters_extra
=
self
.
options
.
get
(
'parameters
_
extra'
)
parameters_extra
=
self
.
options
.
get
(
'parameters
-
extra'
)
if
not
wait_files
and
not
environment
:
# Create a simple wrapper as shell script
...
...
software/jio/instance.cfg.in
View file @
c04bdf35
...
...
@@ -46,4 +46,4 @@ LD_LIBRARY_PATH = ${libxslt:location}/lib:${libxml2:location}/lib:${zlib:locatio
recipe = slapos.cookbook:wrapper
command-line = ${phantomjs:location}/phantomjs-slapos
wrapper-path = $${directory:bin}/phantomjs
parameters
_
extra = true
parameters
-
extra = true
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