summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-07-26 08:50:45 -0400
committerGitHub <noreply@github.com>2016-07-26 08:50:45 -0400
commit5a88d3db3651e23182e72691f3fedc5e1a9a0036 (patch)
treeade035475473bb735a28e8289cdaa16b4fc1d3e2 /roles/openshift_facts/library
parent4cc5781749e9f2eadde2707b07bb11c7552bd46f (diff)
parent8866740a4d61b15d1cd9adbc9741e95650adccf4 (diff)
downloadopenshift-5a88d3db3651e23182e72691f3fedc5e1a9a0036.tar.gz
openshift-5a88d3db3651e23182e72691f3fedc5e1a9a0036.tar.bz2
openshift-5a88d3db3651e23182e72691f3fedc5e1a9a0036.tar.xz
openshift-5a88d3db3651e23182e72691f3fedc5e1a9a0036.zip
Merge pull request #2213 from detiber/remove_old_metrics_role
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)