collectd: add support for mcelog service
Adding a new parameter, CollectdEnableMcelog (False by default) is set to True, a new host prep task will include the new "tripleo_provision_mcelog" role to configure the mcelog service on the host where the collectd container is running. Depends-On: https://review.opendev.org/730409 Change-Id: Ia2280092abb0d769a92994ad337ed2b583f54175 (cherry picked from commita0cbe76723
) (cherry picked from commitc775af9e6d
)
This commit is contained in:
parent
52eb92bf9b
commit
c20d10d413
|
@ -362,6 +362,10 @@ parameters:
|
|||
type: boolean
|
||||
description: Set to true to enable configuration for STF client.
|
||||
default: false
|
||||
CollectdEnableMcelog:
|
||||
type: boolean
|
||||
description: Set to true to enable mcelog
|
||||
default: false
|
||||
|
||||
conditions:
|
||||
amqp_connection:
|
||||
|
@ -706,6 +710,10 @@ outputs:
|
|||
mode: "{{ item.mode }}"
|
||||
with_items:
|
||||
- { 'path': /var/log/containers/collectd, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
|
||||
- name: import provision_mcelog
|
||||
import_role:
|
||||
name: tripleo_provision_mcelog
|
||||
when: {get_param: CollectdEnableMcelog}
|
||||
fast_forward_upgrade_tasks:
|
||||
- when:
|
||||
- step|int == 0
|
||||
|
|
Loading…
Reference in New Issue