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