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
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
9242225f
Commit
9242225f
authored
Jan 27, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add options for request on watchdog recipe.
parent
743e7023
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
slapos/recipe/watchdog.py
slapos/recipe/watchdog.py
+6
-1
No files found.
slapos/recipe/watchdog.py
View file @
9242225f
...
@@ -30,7 +30,12 @@ class Recipe(GenericBaseRecipe):
...
@@ -30,7 +30,12 @@ class Recipe(GenericBaseRecipe):
def
install
(
self
):
def
install
(
self
):
command_line
=
[
self
.
options
[
'binary'
]]
command_line
=
[
self
.
options
[
'binary'
],
'--master-url'
,
self
.
options
[
'master-url'
],
'--cert-file'
,
self
.
options
[
'cert-file'
],
'--key-file'
,
self
.
options
[
'key-file'
],
'--software-release-url'
,
self
.
options
[
'software-release-url'
],
]
if
'frequency'
in
self
.
options
:
if
'frequency'
in
self
.
options
:
command_line
.
extend
([
'--frequency'
,
self
.
options
[
'frequency'
]])
command_line
.
extend
([
'--frequency'
,
self
.
options
[
'frequency'
]])
command_line
.
append
(
self
.
options
[
'agent-url'
])
command_line
.
append
(
self
.
options
[
'agent-url'
])
...
...
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