aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-03-03 11:08:38 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-03-03 11:08:38 +0200
commit1792712f32cee2d6e557e13acef4c2ca58e17a70 (patch)
treea77269bb0a9119f20ef3f086b56f34573382a995
parentcee8160ee531a7419c954eeeaf672a67417925f0 (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
-rw-r--r--puppet/services/etcd.yaml2
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