Merge "Avoid using hostname in haproxy conf"

This commit is contained in:
Zuul 2018-08-14 15:40:03 +00:00 committed by Gerrit Code Review
commit 87ace39ed0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#
[DEFAULT]
sm_api_port=<%= @port %>
sm_api_bind_ip=<%= @bind_host_name %>
sm_api_bind_ip=<%= @bind_ip %>
api_public_url=<%= @public_url %>
api_admin_url=<%= @admin_url %>

View File

@ -56,7 +56,7 @@ class SmPuppet(openstack.OpenstackBasePuppet):
def get_host_config(self, host):
config = {
'platform::smapi::params::bind_ip': host.hostname,
'platform::smapi::params::bind_ip': host.mgmt_ip,
}
return config