summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefanie Forrester <sedgar@redhat.com>2015-10-01 10:56:36 -0700
committerStefanie Forrester <sedgar@redhat.com>2015-10-01 10:56:36 -0700
commit7748ce4463ca6d2e31b55c81ffc1418f8a999b55 (patch)
tree568f0480e0c95e7126203baf6290a89210eceda6
parente2ad79c715ee494b28205fc4abd98a54e57e57e2 (diff)
downloadopenshift-7748ce4463ca6d2e31b55c81ffc1418f8a999b55.tar.gz
openshift-7748ce4463ca6d2e31b55c81ffc1418f8a999b55.tar.bz2
openshift-7748ce4463ca6d2e31b55c81ffc1418f8a999b55.tar.xz
openshift-7748ce4463ca6d2e31b55c81ffc1418f8a999b55.zip
added 'missingok' to logrotate and disabled fluentd in online
-rw-r--r--playbooks/aws/openshift-cluster/tasks/launch_instances.yml1
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/aws/openshift-cluster/tasks/launch_instances.yml b/playbooks/aws/openshift-cluster/tasks/launch_instances.yml
index b77bcdc1a..9c699120b 100644
--- a/playbooks/aws/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/aws/openshift-cluster/tasks/launch_instances.yml
@@ -172,6 +172,7 @@
- rotate 7
- compress
- sharedscripts
+ - missingok
scripts:
postrotate: "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index f708f9bac..3ab3663de 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -296,9 +296,8 @@ 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 = True if deployment_type == 'online' else False
+ use_fluentd = False
facts['common']['use_fluentd'] = use_fluentd
return facts