Remove deprecated rpc_backend param

Remove the deprecated rpc_backend param which has been deprecated for
two years. The default_transport_url has been present for a while
now and should be used.

Change-Id: I0b1356b3e44c3f01fb7025fa8f0720403dd376da
This commit is contained in:
ZhongShengping 2018-05-24 11:24:56 +08:00
parent 7d94b4b6f3
commit 7ee7fc5ec5
2 changed files with 5 additions and 10 deletions

View File

@ -297,11 +297,6 @@
# (Optional) Maximum number of RabbitMQ connection retries. (integer value)
# Defaults to undef
#
# [*rpc_backend*]
# (optional) The messaging driver to use, defaults to rabbit. Other drivers
# include amqp and zmq.
# Defaults to 'rabbit'.
#
# === Authors
#
# Daniel Pawlik <daniel.pawlik@corp.ovh.com>
@ -374,7 +369,6 @@ class watcher (
$notification_topics = $::os_service_default,
# DEPRECATED PARAMETERS
$rabbit_max_retries = undef,
$rpc_backend = 'rabbit',
) {
include ::openstacklib::openstackclient
@ -389,10 +383,6 @@ class watcher (
warning('The rabbit_max_retries parameter has been deprecated and will be removed in the future release.')
}
if $rpc_backend {
warning('The rpc_backend parameter has been deprecated, please use default_transport_url instead.')
}
package { 'watcher':
ensure => $package_ensure,
name => $::watcher::params::common_package_name,

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated watcher::rpc_backend is now removed. Please use
watcher::default_transport_url instead.