Rename enable_cancel_on_failover parameter

... so that users can more easily guess that the parameter is related
to rabbitmq.

Change-Id: I9a040d19cc1834b08e744dbedc560fa59500a229
This commit is contained in:
Takashi Kajinami
2024-09-25 19:24:14 +09:00
parent 8ecd59cb43
commit 801aaceb3c
2 changed files with 5 additions and 4 deletions

View File

@@ -83,7 +83,7 @@
# (Optional) Limit the number of memory bytes used by the quorum queue.
# Defaults to $facts['os_service_default']
#
# [*enable_cancel_on_failover*]
# [*rabbit_enable_cancel_on_failover*]
# (Optional) Enable x-cancel-on-ha-failover flag so that rabbitmq server will
# cancel and notify consumers when queue is down.
# Defaults to $facts['os_service_default']
@@ -185,7 +185,7 @@ class ceilometer(
$rabbit_quorum_delivery_limit = $facts['os_service_default'],
$rabbit_quorum_max_memory_length = $facts['os_service_default'],
$rabbit_quorum_max_memory_bytes = $facts['os_service_default'],
$enable_cancel_on_failover = $facts['os_service_default'],
$rabbit_enable_cancel_on_failover = $facts['os_service_default'],
$rabbit_heartbeat_timeout_threshold = $facts['os_service_default'],
$rabbit_heartbeat_rate = $facts['os_service_default'],
$rabbit_heartbeat_in_pthread = $facts['os_service_default'],
@@ -236,7 +236,7 @@ class ceilometer(
rabbit_quorum_delivery_limit => $rabbit_quorum_delivery_limit,
rabbit_quorum_max_memory_length => $rabbit_quorum_max_memory_length,
rabbit_quorum_max_memory_bytes => $rabbit_quorum_max_memory_bytes,
enable_cancel_on_failover => $enable_cancel_on_failover,
enable_cancel_on_failover => $rabbit_enable_cancel_on_failover,
}
# Once we got here, we can act as an honey badger on the rpc used.

View File

@@ -1,4 +1,5 @@
---
features:
- |
The new ``ceilometer::enable_cancel_on_failover`` parameter has been added.
The new ``ceilometer::rabbit_enable_cancel_on_failover`` parameter has been
added.