Fix ironic-inspector endpoint url

This fixes the endpoints for ironic-inspector, so that these endpoints
contain the correct IP version instead of using 127.0.0.1(default)
always.

Change-Id: I3855207d3f8c06dfc17346c984f01b59e5f3c8d9
This commit is contained in:
Takashi Kajinami 2023-05-23 13:19:59 +09:00
parent be675977f3
commit 466824008a

View File

@ -61,7 +61,10 @@ class openstack_integration::ironic {
memcached_servers => $::openstack_integration::config::memcached_servers,
}
class { 'ironic::keystone::auth_inspector':
password => 'a_big_secret',
public_url => "http://${::openstack_integration::config::ip_for_url}:5050",
internal_url => "http://${::openstack_integration::config::ip_for_url}:5050",
admin_url => "http://${::openstack_integration::config::ip_for_url}:5050",
password => 'a_big_secret',
}
class { 'ironic::client': }
class { 'ironic::api':