Merge "Avoid using hostname in haproxy conf"
This commit is contained in:
commit
87ace39ed0
|
@ -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 %>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue