summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Castro <spinolacastro@gmail.com>2015-08-14 19:13:58 -0300
committerDiego Castro <spinolacastro@gmail.com>2015-08-14 19:13:58 -0300
commit669a91dc9deaa62ddab5fa927504ce775b61744c (patch)
treeea6bc5db93bc436a2e81214430e6b0a1a98377a9
parente1382004e4c6e255878c0ca2b4621c901fba9225 (diff)
downloadopenshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.gz
openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.bz2
openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.tar.xz
openshift-669a91dc9deaa62ddab5fa927504ce775b61744c.zip
Revert Fluentd Facts
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py3
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