diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-08-28 10:57:36 -0400 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-08-28 10:57:36 -0400 |
commit | e6c157be1208c46d4fd63f402517aec19971df12 (patch) | |
tree | 4dc9fb71107c1204711e966c31c9a0719f03bde3 /roles/openshift_facts/library | |
parent | a564019bba52238e6f1146bfdb2f70145ca3685b (diff) | |
parent | b670f5dce8b983c9469dba47f18c2beaf6c1fc2f (diff) | |
download | openshift-e6c157be1208c46d4fd63f402517aec19971df12.tar.gz openshift-e6c157be1208c46d4fd63f402517aec19971df12.tar.bz2 openshift-e6c157be1208c46d4fd63f402517aec19971df12.tar.xz openshift-e6c157be1208c46d4fd63f402517aec19971df12.zip |
Merge pull request #527 from spinolacastro/metrics_fix
Make cluster_metrics disabled by default
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 9fa25d2c2..c13e96c2b 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -335,9 +335,8 @@ def set_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 |