diff --git a/manifests/coordination.pp b/manifests/coordination.pp index 6f1fd49..f004a4d 100644 --- a/manifests/coordination.pp +++ b/manifests/coordination.pp @@ -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'] diff --git a/releasenotes/notes/remove-coordination-heartbeat_interval-719d61392b7e7db7.yaml b/releasenotes/notes/remove-coordination-heartbeat_interval-719d61392b7e7db7.yaml new file mode 100644 index 0000000..da40631 --- /dev/null +++ b/releasenotes/notes/remove-coordination-heartbeat_interval-719d61392b7e7db7.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The deprecated ``mistral::coordination::heartbeat_interval`` parameter has + been removed.