diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-11-01 11:17:18 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-11-01 11:19:29 -0400 |
commit | 48861efef6dab6bde2d540ffb362f57f8650b6ba (patch) | |
tree | 262b4d643a83e2269463a9e393459123f0bd3bb5 /utils/src/ooinstall/oo_config.py | |
parent | e977242d747f11a0771f4593a936704802ca3f94 (diff) | |
download | openshift-48861efef6dab6bde2d540ffb362f57f8650b6ba.tar.gz openshift-48861efef6dab6bde2d540ffb362f57f8650b6ba.tar.bz2 openshift-48861efef6dab6bde2d540ffb362f57f8650b6ba.tar.xz openshift-48861efef6dab6bde2d540ffb362f57f8650b6ba.zip |
Update installation summary for etcd members
We have changed how we assign etcd members in the quick
installer. This updates our messaging to match those changes.
Fixes Bug 1383961
Fixes Bug 1389649
Diffstat (limited to 'utils/src/ooinstall/oo_config.py')
-rw-r--r-- | utils/src/ooinstall/oo_config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/src/ooinstall/oo_config.py b/utils/src/ooinstall/oo_config.py index e6bff7133..64eb340f3 100644 --- a/utils/src/ooinstall/oo_config.py +++ b/utils/src/ooinstall/oo_config.py @@ -120,6 +120,10 @@ class Host(object): def is_storage(self): return 'storage' in self.roles + def is_etcd(self): + """ Does this host have the etcd role """ + return 'etcd' in self.roles + def is_etcd_member(self, all_hosts): """ Will this host be a member of a standalone etcd cluster. """ if not self.is_master(): |