Fetch scheme/port from hiera instead of hard coding it

Looks like nit/forgotten in https://review.openstack.org/626177
Depends-On is so we can see the job run here missing nova in layout

Co-Authored-By: Yatin Karel <ykarel@redhat.com>
Depends-On: https://review.openstack.org/631228
Change-Id: I4dbebcd3f3f530f21d3afc822084278136e58b4c
Closes-Bug: #1811004
This commit is contained in:
Marios Andreou 2019-01-16 16:12:13 +02:00
parent beb7aa1124
commit 632a184a94
1 changed files with 5 additions and 5 deletions

View File

@ -238,14 +238,14 @@ outputs:
TRANSPORTURL:
list_join:
- ''
- - 'rabbit'
- - '$(hiera -c /etc/puppet/hiera.yaml oslo_messaging_rpc_scheme rabbit)'
- '://'
- '{username}'
- ':'
- '{password}'
- '@'
- '{hostname}'
- ':5672'
- ':$(hiera -c /etc/puppet/hiera.yaml oslo_messaging_rpc_port 5672)'
- '/'
- '?'
- '{query}'
@ -493,7 +493,7 @@ outputs:
- name: Setup cell_v2 (map cell0)
shell:
str_replace:
template: nova-manage cell_v2 map_cell0 --database_connection='CELL0DB' --transport-url='TRANSPORTURL'
template: nova-manage cell_v2 map_cell0 --database_connection='CELL0DB' --transport-url="'TRANSPORTURL'"
params:
CELL0DB:
list_join:
@ -516,14 +516,14 @@ outputs:
TRANSPORTURL:
list_join:
- ''
- - 'rabbit'
- - '$(hiera -c /etc/puppet/hiera.yaml oslo_messaging_rpc_scheme rabbit)'
- '://'
- '{username}'
- ':'
- '{password}'
- '@'
- '{hostname}'
- ':5672'
- ':$(hiera -c /etc/puppet/hiera.yaml oslo_messaging_rpc_port 5672)'
- '/'
- '?'
- '{query}'