From 7f41da4e45aa991aa967889619568e07afb36fe0 Mon Sep 17 00:00:00 2001
From: Samuel Munilla <smunilla@redhat.com>
Date: Wed, 17 Feb 2016 09:39:27 -0500
Subject: a-o-i: Change method for counting master_lb as installed

---
 utils/src/ooinstall/cli_installer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'utils')

diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 9839bf447..6428b295a 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -532,7 +532,7 @@ def get_installed_hosts(hosts, callback_facts):
                   callback_facts[host.connect_to]['common'].get('version', '') != 'None') \
             or
             ('master' in callback_facts[host.connect_to].keys() and
-                 callback_facts[host.connect_to]['master'].get('cluster_method', '') == 'native')
+                 callback_facts[host.connect_to]['master'].get('cluster_hostname', '') == host.connect_to)
             ):
             installed_hosts.append(host)
     return installed_hosts
-- 
cgit v1.2.3