Rename enable_cancel_on_failover parameter

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

Change-Id: Ic980e04d1fbfb3026b1fda271c249bb3256a24fd
This commit is contained in:
Takashi Kajinami
2024-09-25 19:20:46 +09:00
parent 3667928673
commit 649aac369e
3 changed files with 5 additions and 5 deletions

View File

@@ -97,7 +97,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']
@@ -197,7 +197,7 @@ class aodh (
$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'],
$use_queue_manager = $facts['os_service_default'],
$hostname = $facts['os_service_default'],
$processname = $facts['os_service_default'],
@@ -249,7 +249,7 @@ class aodh (
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,
use_queue_manager => $use_queue_manager,
hostname => $hostname,
processname => $processname,

View File

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

View File

@@ -100,7 +100,7 @@ describe 'aodh' do
:rabbit_quorum_delivery_limit => 3,
:rabbit_quorum_max_memory_length => 5,
:rabbit_quorum_max_memory_bytes => 1073741824,
:enable_cancel_on_failover => false,
:rabbit_enable_cancel_on_failover => false,
:use_queue_manager => false,
:hostname => 'node1.example.com',
:processname => 'procname',