Use service-specific servernames for haproxy
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 5 Oct 2016 07:37:27 +0000 (10:37 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 5 Oct 2016 08:21:17 +0000 (08:21 +0000)
commitb04f01026bedd10f4f57642f1bf81b1535673f88
treeb0570fa8656df2ba1eca4dcbceff9997113d55a1
parent39c9c6508a43b7c705f4f206e1093080c921b7d6
Use service-specific servernames for haproxy

Right now we're hardcoding the server names for the services to be
the controllers. This is problematic if we start  using custom roles
for services, which listen on nodes that are not controllers.

We already have the server names for each service, so using this
mapping instead fixes the issue.

Change-Id: Ic4b65edb3dc1b75abbc3421a87cab97425b058c4
Closes-Bug: #1629098
manifests/haproxy.pp