diff options
author | 2016-09-17 18:50:51 +0000 | |
---|---|---|
committer | 2016-09-17 18:50:51 +0000 | |
commit | dc9c4c2ad9f8ee08d3b97f09641f580bb32c1592 (patch) | |
tree | 940c3fa289dd1856d7b8e78f51f606eb3286a605 /puppet/services/pacemaker.yaml | |
parent | 4a504411a9c63eda4c16c1cdbff486453a60a5ba (diff) | |
parent | 0d9298bb8fc9903ff42e3d2402cd44e765f4c822 (diff) |
Merge "Add fluentd client service"
Diffstat (limited to 'puppet/services/pacemaker.yaml')
-rw-r--r-- | puppet/services/pacemaker.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml index 5d1d666a..abfb9c80 100644 --- a/puppet/services/pacemaker.yaml +++ b/puppet/services/pacemaker.yaml @@ -66,6 +66,16 @@ parameters: ] } type: json + PacemakerLoggingSource: + type: json + default: + tag: system.pacemaker + path: /var/log/pacemaker.log,/var/log/cluster/corosync.log + format: >- + /^(?<time>[^ ]*\s*[^ ]* [^ ]*) + \[(?<pid>[^ ]*)\] + (?<host>[^ ]*) + (?<message>.*)$/ outputs: role_data: @@ -73,6 +83,9 @@ outputs: value: service_name: pacemaker monitoring_subscription: {get_param: MonitoringSubscriptionPacemaker} + logging_groups: + - haclient + logging_source: {get_param: PacemakerLoggingSource} config_settings: pacemaker::corosync::cluster_name: 'tripleo_cluster' pacemaker::corosync::manage_fw: false |