Merge "coordination: Remove heartbeat_interval"
This commit is contained in:
commit
81d8a8ac18
@ -8,32 +8,16 @@
|
|||||||
# (Optional) Coordination backend URL.
|
# (Optional) Coordination backend URL.
|
||||||
# Defaults to $facts['os_service_default']
|
# Defaults to $facts['os_service_default']
|
||||||
#
|
#
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*heartbeat_interval*]
|
|
||||||
# (Optional) Number of seconds between heartbeats for coordination.
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class mistral::coordination (
|
class mistral::coordination (
|
||||||
$backend_url = $facts['os_service_default'],
|
$backend_url = $facts['os_service_default'],
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$heartbeat_interval = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include mistral::deps
|
include mistral::deps
|
||||||
|
|
||||||
if $heartbeat_interval != undef {
|
|
||||||
warning('The heartbeat_interval parameter has been deprecated and has no effect.')
|
|
||||||
}
|
|
||||||
|
|
||||||
oslo::coordination{ 'mistral_config':
|
oslo::coordination{ 'mistral_config':
|
||||||
backend_url => $backend_url
|
backend_url => $backend_url
|
||||||
}
|
}
|
||||||
|
|
||||||
mistral_config {
|
|
||||||
'coordination/heartbeat_interval': ensure => absent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# all coordination settings should be applied and all packages should be
|
# all coordination settings should be applied and all packages should be
|
||||||
# installed before service startup
|
# installed before service startup
|
||||||
Oslo::Coordination['mistral_config'] -> Anchor['mistral::service::begin']
|
Oslo::Coordination['mistral_config'] -> Anchor['mistral::service::begin']
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The deprecated ``mistral::coordination::heartbeat_interval`` parameter has
|
||||||
|
been removed.
|
Loading…
x
Reference in New Issue
Block a user