diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-10-04 09:00:17 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-10-04 10:53:21 -0400 |
commit | 7edc17b56309d259634331527bf5f343f45baeaf (patch) | |
tree | ddece59d770d248295e792f905c58b54e04303d7 /roles/openshift_health_checker/openshift_checks/etcd_volume.py | |
parent | a25709a6f16913b59ef2edc3e07d8bc8a598f41e (diff) | |
download | openshift-7edc17b56309d259634331527bf5f343f45baeaf.tar.gz openshift-7edc17b56309d259634331527bf5f343f45baeaf.tar.bz2 openshift-7edc17b56309d259634331527bf5f343f45baeaf.tar.xz openshift-7edc17b56309d259634331527bf5f343f45baeaf.zip |
openshift_checks: use oo group names everywhere
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/etcd_volume.py')
-rw-r--r-- | roles/openshift_health_checker/openshift_checks/etcd_volume.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/etcd_volume.py b/roles/openshift_health_checker/openshift_checks/etcd_volume.py index 79955cb2f..3d75da6f9 100644 --- a/roles/openshift_health_checker/openshift_checks/etcd_volume.py +++ b/roles/openshift_health_checker/openshift_checks/etcd_volume.py @@ -15,7 +15,11 @@ class EtcdVolume(OpenShiftCheck): etcd_mount_path = "/var/lib/etcd" def is_active(self): - etcd_hosts = self.get_var("groups", "etcd", default=[]) or self.get_var("groups", "masters", default=[]) or [] + etcd_hosts = ( + self.get_var("groups", "oo_etcd_to_config", default=[]) or + self.get_var("groups", "oo_masters_to_config", default=[]) or + [] + ) is_etcd_host = self.get_var("ansible_host") in etcd_hosts return super(EtcdVolume, self).is_active() and is_etcd_host |