Make apache-based services use network-dependent servername
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 5 Sep 2016 11:39:04 +0000 (14:39 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 21 Sep 2016 09:31:33 +0000 (09:31 +0000)
commit2fc2770529fb9d65cf6be6862155102868f87cb1
treeae0a70fd00ab8a589d944902b8738c2bf448aaa0
parenta87939a39820d9190d2cd74be445e29951d0c6ad
Make apache-based services use network-dependent servername

Currently the servername is incorrectly set for the services running
over apache. It currently takes the default value which is just the
regular FQDN, when the services actually might be running on
different IPs that require alternative FQDNs.

This fixes that by filling that value from a fact in hiera that's
dependant on the service's network.

Closes-Bug: #1625677
Change-Id: Ib7ea5fd2d18a376eaa2f5a3fa5687cb9b719a8e2
puppet/services/aodh-api.yaml
puppet/services/ceilometer-api.yaml
puppet/services/gnocchi-api.yaml
puppet/services/keystone.yaml