From 60f410dc1729c602b704b77eb627600dac3f84f2 Mon Sep 17 00:00:00 2001 From: Antoine Catton <acatton@tiolive.com> Date: Wed, 14 Dec 2011 16:46:51 +0100 Subject: [PATCH] Use option instead of going through buildout to get slave instance list in pbs recipe. --- slapos/recipe/pbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slapos/recipe/pbs.py b/slapos/recipe/pbs.py index 1c035081d..173e0d273 100644 --- a/slapos/recipe/pbs.py +++ b/slapos/recipe/pbs.py @@ -207,7 +207,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback): 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']) with known_hosts: for slave in slaves: -- 2.30.9