aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/gnocchi-api.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-23 08:39:09 +0000
committerGerrit Code Review <review@openstack.org>2016-09-23 08:39:09 +0000
commit56057325a95bb521e2ed8a322223c1f858ab25fe (patch)
treec08ff4349746748129ff7a85c00dcbea606c19e6 /puppet/services/gnocchi-api.yaml
parent75c20d5b5dabed936f86096829377b01f1c3d4b2 (diff)
parent2fc2770529fb9d65cf6be6862155102868f87cb1 (diff)
Merge "Make apache-based services use network-dependent servername"
Diffstat (limited to 'puppet/services/gnocchi-api.yaml')
-rw-r--r--puppet/services/gnocchi-api.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-api.yaml b/puppet/services/gnocchi-api.yaml
index e8f25bb1..07d3b01e 100644
--- a/puppet/services/gnocchi-api.yaml
+++ b/puppet/services/gnocchi-api.yaml
@@ -89,6 +89,12 @@ outputs:
gnocchi::keystone::authtoken::password: {get_param: GnocchiPassword}
gnocchi::keystone::authtoken::project_name: 'service'
gnocchi::wsgi::apache::ssl: false
+ gnocchi::wsgi::apache::servername:
+ str_replace:
+ template:
+ '"%{::fqdn_$NETWORK}"'
+ params:
+ $NETWORK: {get_param: [ServiceNetMap, GnocchiApiNetwork]}
tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend}
# NOTE: bind IP is found in Heat replacing the network name with the
# local node IP for the given network; replacement examples