diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-03-03 11:07:08 +0200 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-03-03 11:07:08 +0200 |
commit | 039483d09923a34a5423c39d0f206afa4802ea27 (patch) | |
tree | 2bf2df8285b0ed12098ec2a4cb07b459d482a8a8 /puppet/services | |
parent | cee8160ee531a7419c954eeeaf672a67417925f0 (diff) |
ec2-api: Get FQDN from hiera instead of puppet fact
The puppet facts will be removed soon and using the hiera value is
adviced instead.
Change-Id: I3ba89dd9bd471c5723325efc9041ca6da937ccc5
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/ec2-api.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/ec2-api.yaml b/puppet/services/ec2-api.yaml index 70821396..10f6d311 100644 --- a/puppet/services/ec2-api.yaml +++ b/puppet/services/ec2-api.yaml @@ -72,13 +72,13 @@ outputs: ec2api::api::ec2api_listen: str_replace: template: - '"%{::fqdn_$NETWORK}"' + "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, Ec2ApiNetwork]} ec2api::metadata::metadata_listen: str_replace: template: - '"%{::fqdn_$NETWORK}"' + "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, Ec2ApiMetadataNetwork]} ec2api::db::database_connection: |