Commit 60f410dc authored by Antoine Catton's avatar Antoine Catton

Use option instead of going through buildout to get slave instance list

in pbs recipe.
parent 3d002fb0
...@@ -207,7 +207,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback): ...@@ -207,7 +207,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback):
ssh_client=self.options['sshclient-binary'], ssh_client=self.options['sshclient-binary'],
) )
slaves = unjson(self.buildout['slap-parameter']['slave_instance_list']) slaves = unjson(self.options['slave-instance-list'])
known_hosts = KnownHostsFile(self.options['known-hosts']) known_hosts = KnownHostsFile(self.options['known-hosts'])
with known_hosts: with known_hosts:
for slave in slaves: for slave in slaves:
......
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