Commit 9242225f authored by Antoine Catton's avatar Antoine Catton

Add options for request on watchdog recipe.

parent 743e7023
...@@ -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'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment