summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Castro (dscastro) <spinolacastro@gmail.com>2015-08-28 11:16:00 -0300
committerDiego Castro (dscastro) <spinolacastro@gmail.com>2015-08-28 11:16:00 -0300
commit8f0cd8cfa6ec5fb0cbb0065840d4b908d21ceeb4 (patch)
tree723911269bea6739a140f78b6325001ce0971e27
parentd54665d0c0c1f7a3cec572c04f3ce769277c05e4 (diff)
downloadopenshift-8f0cd8cfa6ec5fb0cbb0065840d4b908d21ceeb4.tar.gz
openshift-8f0cd8cfa6ec5fb0cbb0065840d4b908d21ceeb4.tar.bz2
openshift-8f0cd8cfa6ec5fb0cbb0065840d4b908d21ceeb4.tar.xz
openshift-8f0cd8cfa6ec5fb0cbb0065840d4b908d21ceeb4.zip
Make cluster_metrics disabled by default
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index c1c4e1b5c..6c15ba6a8 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -337,7 +337,7 @@ def set_cluster_metrics_facts_if_unset(facts):
if 'common' in facts:
deployment_type = facts['common']['deployment_type']
if 'use_cluster_metrics' not in facts['common']:
- use_cluster_metrics = True if deployment_type == 'origin' else False
+ use_cluster_metrics = False
facts['common']['use_cluster_metrics'] = use_cluster_metrics
return facts