def __get_primary_controller(self):
     for controller_node in self.controllers:
         with self.fuel_web.get_ssh_for_node(controller_node) as remote:
             hiera_roles = get_node_hiera_roles(remote)
             if "primary-controller" in hiera_roles:
                 return controller_node
 def __get_primary_controller(self):
     for controller_node in self.controllers:
         with self.fuel_web.get_ssh_for_node(controller_node) as remote:
             hiera_roles = get_node_hiera_roles(remote)
             if "primary-controller" in hiera_roles:
                 return controller_node