Browse Source

added 'missingok' to logrotate and disabled fluentd in online

Stefanie Forrester 9 years ago
parent
commit
7748ce4463

+ 1 - 0
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"
 

+ 1 - 2
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