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