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
This commit is contained in:
parent
80888cf742
commit
a0cbe76723
@ -377,6 +377,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:
|
||||
@ -732,6 +736,10 @@ outputs:
|
||||
mode: "{{ item.mode }}"
|
||||
with_items:
|
||||
- { 'path': /var/log/containers/collectd, 'setype': container_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…
x
Reference in New Issue
Block a user