summaryrefslogtreecommitdiffstats
path: root/func/overlord/client.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-25 13:28:32 -0500
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-25 13:28:32 -0500
commit71ca4184404df52dabfea318e3e0a1ca8c1b4c61 (patch)
tree5a4b69c9b9e38057256624f1c173f59d928487e5 /func/overlord/client.py
parente648895b13205a4669ba9d3ea8756209b6a6d9eb (diff)
parente27f9d8383848d523d301706046c54e99b5f9676 (diff)
downloadthird_party-func-71ca4184404df52dabfea318e3e0a1ca8c1b4c61.tar.gz
third_party-func-71ca4184404df52dabfea318e3e0a1ca8c1b4c61.tar.xz
third_party-func-71ca4184404df52dabfea318e3e0a1ca8c1b4c61.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
Diffstat (limited to 'func/overlord/client.py')
-rwxr-xr-xfunc/overlord/client.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/func/overlord/client.py b/func/overlord/client.py
index f07e526..fdcf875 100755
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -105,6 +105,7 @@ class Minions(object):
def _get_new_hosts(self):
self.new_hosts = self.group_class.get_hosts_by_groupgoo(self.spec)
+ return self.new_hosts
def _get_all_hosts(self):
seperate_gloobs = self.spec.split(";")
@@ -116,6 +117,12 @@ class Minions(object):
self.all_certs.append(cert)
host = cert.replace(self.config.certroot,"")[1:-5]
self.all_hosts.append(host)
+ return self.all_hosts
+
+ def get_all_hosts(self):
+ self._get_new_hosts()
+ self._get_all_hosts()
+ return self.all_hosts
def get_urls(self):
self._get_new_hosts()