diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2016-11-28 13:07:12 +0200 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2016-12-01 11:18:23 +0200 |
commit | b4cd2ed1ee0f5eb86d0cba75ed40d4679210e616 (patch) | |
tree | bdcd22155d67505bb50d5bbfacb685b4fde4ecc6 /puppet/services/gnocchi-api.yaml | |
parent | 7a2c2b0f938716f6fc584f1c53ac3fa2896d70f3 (diff) |
Use network-based fqdn entry from hiera instead of the custom fact
This changes how we get the network-based FQDNs for the specific
services, from using the custom fact, to the new hiera entries.
Change-Id: Iae668a5d89fb7bee091db4a761aa6c91d369b276
Diffstat (limited to 'puppet/services/gnocchi-api.yaml')
-rw-r--r-- | puppet/services/gnocchi-api.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/gnocchi-api.yaml b/puppet/services/gnocchi-api.yaml index d5f8e62d..b3d39e0f 100644 --- a/puppet/services/gnocchi-api.yaml +++ b/puppet/services/gnocchi-api.yaml @@ -91,7 +91,7 @@ outputs: gnocchi::wsgi::apache::servername: str_replace: template: - '%{::fqdn_$NETWORK}' + "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, GnocchiApiNetwork]} tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend} @@ -105,7 +105,7 @@ outputs: gnocchi::api::host: str_replace: template: - '%{::fqdn_$NETWORK}' + "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, GnocchiApiNetwork]} |