Zaqar: Fix missing bind options for websocket

Currently zaqar websocket service always uses 127.0.0.1. This fixes
that and ensures the expected IP version is used.

Change-Id: I4d1a90581886f1b07f48bf1139813f3be9d41757
This commit is contained in:
Takashi Kajinami 2023-02-24 23:43:27 +09:00
parent 17d72d4262
commit 86ef969187

View File

@ -64,6 +64,10 @@ class openstack_integration::zaqar {
# run a second instance using websockets, the Debian system does
# not support the use of services to run a second instance.
if $::osfamily == 'RedHat' {
class { 'zaqar::transport::websocket':
bind => $::openstack_integration::config::host,
notification_bind => $::openstack_integration::config::host,
}
zaqar::server_instance{ '1':
transport => 'websocket'
}