Browse Source

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 commit a0cbe76723)
(cherry picked from commit c775af9e6d)
changes/72/738572/1
michalrebisz 2 months ago
committed by Matthias Runge
parent
commit
c20d10d413
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      deployment/metrics/collectd-container-puppet.yaml

+ 8
- 0
deployment/metrics/collectd-container-puppet.yaml View File

@@ -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…
Cancel
Save