Merge "Generate tooz_url using the new os_url function"

This commit is contained in:
Zuul 2023-08-16 21:30:41 +00:00 committed by Gerrit Code Review
commit b2cde7d4fc

View File

@ -70,7 +70,16 @@ class openstack_integration::config (
$base_url = "${proto}://${ip_for_url}"
$keystone_auth_uri = "${base_url}:5000"
$keystone_admin_uri = "${base_url}:5000"
$tooz_url = "redis://:a_big_secret@${ip_for_url}:6379?ssl=${::openstack_integration::config::ssl}"
$tooz_url = os_url({
'scheme' => 'redis',
'password' => 'a_big_secret',
'host' => $ip_for_url,
'port' => '6379',
'query' => {
'ssl' => $ssl,
}
})
$ovn_nb_connection = "${ovn_proto}:${ip_for_url}:6641"
$ovn_sb_connection = "${ovn_proto}:${ip_for_url}:6642"