Remove ties between ceilometer and panko
Avoid panko related kolla configurations in the ceilometer-agent-notification if panko is disabled. Change-Id: I9920e426e50e7fa6307ba8f453beb08fbd161534
This commit is contained in:
parent
22bf2b8364
commit
8a6be5f0b0
@ -45,6 +45,10 @@ parameters:
|
||||
default: false
|
||||
description: Remove package if the service is being disabled during upgrade
|
||||
type: boolean
|
||||
CeilometerEnablePanko:
|
||||
default: true
|
||||
description: Check if panko need to be enabled or not.
|
||||
type: boolean
|
||||
|
||||
resources:
|
||||
|
||||
@ -61,6 +65,9 @@ resources:
|
||||
RoleName: {get_param: RoleName}
|
||||
RoleParameters: {get_param: RoleParameters}
|
||||
|
||||
conditions:
|
||||
ceilometer_enable_panko: {equals: [{get_param: CeilometerEnablePanko}, True]}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
description: Role data for the Ceilometer Agent Notification role.
|
||||
@ -90,10 +97,13 @@ outputs:
|
||||
dest: "/"
|
||||
merge: true
|
||||
preserve_properties: true
|
||||
- if:
|
||||
- ceilometer_enable_panko
|
||||
- source: "/var/lib/kolla/config_files/src-panko/*"
|
||||
dest: "/"
|
||||
merge: true
|
||||
preserve_properties: true
|
||||
- ''
|
||||
permissions:
|
||||
- path: /etc/panko
|
||||
owner: root:ceilometer
|
||||
|
@ -6,5 +6,6 @@ resource_registry:
|
||||
OS::TripleO::Services::PankoApi: OS::Heat::None
|
||||
|
||||
parameter_defaults:
|
||||
CeilometerEnablePanko: false
|
||||
EventPipelinePublishers:
|
||||
- gnocchi://?archive_policy=high
|
||||
|
Loading…
Reference in New Issue
Block a user