소스 검색

added 'missingok' to logrotate and disabled fluentd in online

Stefanie Forrester 9 년 전
부모
커밋
7748ce4463
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      playbooks/aws/openshift-cluster/tasks/launch_instances.yml
  2. 1 2
      roles/openshift_facts/library/openshift_facts.py

+ 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