Commit 8298d98a authored by Julien Muchembled's avatar Julien Muchembled

Extend NEO recipe to forward parameters for backup cluster

parent dfa7e808
......@@ -89,7 +89,12 @@ class Admin(NeoBaseRecipe):
class Master(NeoBaseRecipe):
def _getOptionList(self):
options = self.options
return [
r = [
'-p', options['partitions'],
'-r', options['replicas'],
]
for x in (('-C', options['upstream-cluster']),
('-M', options['upstream-masters'])):
if x[1]:
r += x
return r
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