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
Jean-Paul Smets
slapos
Commits
3bdc7451
Commit
3bdc7451
authored
Dec 19, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEO: use simpler wrappers for services
parent
4a3b1752
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
slapos/recipe/neoppod.py
slapos/recipe/neoppod.py
+2
-3
No files found.
slapos/recipe/neoppod.py
View file @
3bdc7451
...
@@ -43,7 +43,6 @@ class NeoBaseRecipe(GenericBaseRecipe):
...
@@ -43,7 +43,6 @@ class NeoBaseRecipe(GenericBaseRecipe):
# useful, as per NEO deploying constraints.
# useful, as per NEO deploying constraints.
raise
UserError
(
'"masters" parameter is mandatory'
)
raise
UserError
(
'"masters" parameter is mandatory'
)
option_list
=
[
option_list
=
[
options
[
'binary'
],
'-l'
,
options
[
'logfile'
],
'-l'
,
options
[
'logfile'
],
'-m'
,
options
[
'masters'
],
'-m'
,
options
[
'masters'
],
'-b'
,
self
.
_getBindingAddress
(),
'-b'
,
self
.
_getBindingAddress
(),
...
@@ -59,9 +58,9 @@ class NeoBaseRecipe(GenericBaseRecipe):
...
@@ -59,9 +58,9 @@ class NeoBaseRecipe(GenericBaseRecipe):
'--key'
,
etc
+
'neo.key'
,
'--key'
,
etc
+
'neo.key'
,
)
)
option_list
.
extend
(
self
.
_getOptionList
())
option_list
.
extend
(
self
.
_getOptionList
())
return
[
self
.
create
PythonScript
(
return
[
self
.
create
Wrapper
(
options
[
'wrapper'
],
options
[
'wrapper'
],
'slapos.recipe.librecipe.execute.execute'
,
options
[
'binary'
]
,
option_list
option_list
)]
)]
...
...
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