Fix rpc_backend option warning

The value of rpc_backend option is 'rabbit', not $::os_service_default.
so fix the if statement condition.

Change-Id: I6f785349e2895919516b5724b122c249d4a010f8
This commit is contained in:
ZhongShengping 2017-08-07 09:42:52 +08:00
parent dd2f674f3d
commit 3150e14ad0

View File

@ -368,7 +368,7 @@ class trove(
!is_service_default($rabbit_port) or
!is_service_default($rabbit_userid) or
!is_service_default($rabbit_virtual_host) or
!is_service_default($rpc_backend) {
$rpc_backend {
warning("trove::rabbit_host, trove::rabbit_hosts, trove::rabbit_password, \
trove::rabbit_port, trove::rabbit_userid, trove::rabbit_virtual_host and \
trove::rpc_backend are deprecated. Please use trove::default_transport_url \