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
This commit is contained in:
Juan Antonio Osorio Robles 2017-03-03 11:08:38 +02:00
parent cee8160ee5
commit 1792712f32
1 changed files with 1 additions and 1 deletions

View File

@ -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