diff options
author | Diego Castro <spinolacastro@gmail.com> | 2015-08-14 19:13:58 -0300 |
---|---|---|
committer | Diego Castro <spinolacastro@gmail.com> | 2015-08-14 19:13:58 -0300 |
commit | 669a91dc9deaa62ddab5fa927504ce775b61744c (patch) | |
tree | ea6bc5db93bc436a2e81214430e6b0a1a98377a9 | |
parent | e1382004e4c6e255878c0ca2b4621c901fba9225 (diff) | |
download | openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.gz openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.bz2 openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.xz openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.zip |
Revert Fluentd Facts
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 7e74f9617..e46cee145 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -317,8 +317,9 @@ def set_fluentd_facts_if_unset(facts): """ if 'common' in facts: + deployment_type = facts['common']['deployment_type'] if 'use_fluentd' not in facts['common']: - use_fluentd = False + use_fluentd = True if deployment_type == 'online' else False facts['common']['use_fluentd'] = use_fluentd return facts |