summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-07-25 11:45:19 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-07-25 11:45:19 -0400
commit8866740a4d61b15d1cd9adbc9741e95650adccf4 (patch)
tree8bc56f28afe1f12489ba8b0790300276cb5d0a8b /roles/openshift_facts/library
parentcd46274c9d52dab3553f3f88fca37bf2a93c9068 (diff)
downloadopenshift-8866740a4d61b15d1cd9adbc9741e95650adccf4.tar.gz
openshift-8866740a4d61b15d1cd9adbc9741e95650adccf4.tar.bz2
openshift-8866740a4d61b15d1cd9adbc9741e95650adccf4.tar.xz
openshift-8866740a4d61b15d1cd9adbc9741e95650adccf4.zip
remove outdated openshift_cluster_metrics role
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 54bdbc775..659f4eba6 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -480,23 +480,6 @@ def set_selectors(facts):
return facts
-def set_metrics_facts_if_unset(facts):
- """ Set cluster metrics facts if not already present in facts dict
- dict: the facts dict updated with the generated cluster metrics facts if
- missing
- Args:
- facts (dict): existing facts
- Returns:
- dict: the facts dict updated with the generated cluster metrics
- facts if they were not already present
-
- """
- if 'common' in facts:
- if 'use_cluster_metrics' not in facts['common']:
- use_cluster_metrics = False
- facts['common']['use_cluster_metrics'] = use_cluster_metrics
- return facts
-
def set_dnsmasq_facts_if_unset(facts):
""" Set dnsmasq facts if not already present in facts
Args:
@@ -1674,7 +1657,6 @@ class OpenShiftFacts(object):
facts = set_nuage_facts_if_unset(facts)
facts = set_node_schedulability(facts)
facts = set_selectors(facts)
- facts = set_metrics_facts_if_unset(facts)
facts = set_identity_providers_if_unset(facts)
facts = set_sdn_facts_if_unset(facts, self.system_facts)
facts = set_deployment_facts_if_unset(facts)