Strip amqp_hosts list to avoid whitespaces in the transport_url string
Change-Id: I429b8fc51585a90edfd04cef4c506d9af1ef77ab Closes-bug: #1657506
This commit is contained in:
parent
3a2cc9e24a
commit
86329c43f1
|
@ -309,7 +309,7 @@ class osnailyfacter::globals::globals {
|
|||
$rabbit_password = $real_rabbit_hash['password']
|
||||
$transport_url = os_transport_url({
|
||||
'transport' => 'rabbit',
|
||||
'hosts' => split($amqp_hosts,','),
|
||||
'hosts' => strip(split($amqp_hosts,',')),
|
||||
'username' => $rabbit_user,
|
||||
'password' => $rabbit_password,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue