diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-02-08 16:59:08 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-02-08 16:59:08 -0500 |
commit | 2b3af4a3d009e6eac172db437b1e701ec5004dc9 (patch) | |
tree | cb5b0a04027fcf84b2f114e7bb37b06a3a849fe2 /roles/openshift_facts | |
parent | 4854cd42c4705e594c8c5fd8334c702a756c71af (diff) | |
download | openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.gz openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.bz2 openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.xz openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.zip |
Remove fluentd_master and fluentd_node roles.
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 18 |
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 40e54d706..fc36825e8 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -304,23 +304,6 @@ def normalize_provider_facts(provider, metadata): facts = normalize_openstack_facts(metadata, facts) return facts -def set_fluentd_facts_if_unset(facts): - """ Set fluentd facts if not already present in facts dict - dict: the facts dict updated with the generated fluentd facts if - missing - Args: - facts (dict): existing facts - Returns: - dict: the facts dict updated with the generated fluentd - facts if they were not already present - - """ - if 'common' in facts: - if 'use_fluentd' not in facts['common']: - use_fluentd = False - facts['common']['use_fluentd'] = use_fluentd - return facts - def set_flannel_facts_if_unset(facts): """ Set flannel facts if not already present in facts dict dict: the facts dict updated with the flannel facts if @@ -1143,7 +1126,6 @@ class OpenShiftFacts(object): facts['current_config'] = get_current_config(facts) facts = set_url_facts_if_unset(facts) facts = set_project_cfg_facts_if_unset(facts) - facts = set_fluentd_facts_if_unset(facts) facts = set_flannel_facts_if_unset(facts) facts = set_nuage_facts_if_unset(facts) facts = set_node_schedulability(facts) |