diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-03-03 11:08:38 +0200 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-03-03 11:08:38 +0200 |
commit | 1792712f32cee2d6e557e13acef4c2ca58e17a70 (patch) | |
tree | a77269bb0a9119f20ef3f086b56f34573382a995 /puppet | |
parent | cee8160ee531a7419c954eeeaf672a67417925f0 (diff) |
etcd: 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: I318f81abaac997370e950780993dc95cae088327
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/etcd.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/services/etcd.yaml b/puppet/services/etcd.yaml index ec87a75a..7cdd8451 100644 --- a/puppet/services/etcd.yaml +++ b/puppet/services/etcd.yaml @@ -36,7 +36,7 @@ outputs: etcd::etcd_name: str_replace: template: - '"%{::fqdn_$NETWORK}"' + "%{hiera('fqdn_$NETWORK')}" params: $NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]} # NOTE: bind IP is found in Heat replacing the network name with the local node IP |