Merge "Add option for enabling rsyslog reopenOnTruncate"
This commit is contained in:
commit
d507065dc2
@ -34,6 +34,10 @@ parameters:
|
||||
default: {}
|
||||
description: Parameters specific to the role
|
||||
type: json
|
||||
RsyslogReopenOnTruncate:
|
||||
default: false
|
||||
description: Rsyslog imfile reopenOnTruncate parameter
|
||||
type: boolean
|
||||
RsyslogElasticsearchSetting:
|
||||
default: {}
|
||||
description: Configuration for rsyslog-elasticsearch plugin
|
||||
@ -81,8 +85,6 @@ conditions:
|
||||
use_amqp1:
|
||||
not:
|
||||
equals: [{get_param: RsyslogAmqp1Setting}, {}]
|
||||
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
description: Role data for the rsyslog role.
|
||||
@ -202,6 +204,10 @@ outputs:
|
||||
dynSearchIndex: "on"
|
||||
errorfile: '/var/log/rsyslog/omelasticsearch.log'
|
||||
- {}
|
||||
- if:
|
||||
- {get_param: RsyslogReopenOnTruncate}
|
||||
- tripleo::profile::base::logging::rsyslog::reopen_on_truncate: "on"
|
||||
- {}
|
||||
- if:
|
||||
- use_amqp1
|
||||
- tripleo::profile::base::logging::rsyslog::amqp1:
|
||||
|
Loading…
Reference in New Issue
Block a user