Merge "Use hiera interpolation for memcached_network" into stable/queens

This commit is contained in:
Zuul 2019-10-31 19:00:33 +00:00 committed by Gerrit Code Review
commit cb6c733456
1 changed files with 4 additions and 3 deletions

View File

@ -73,10 +73,11 @@ outputs:
config_settings:
memcached_network:
str_replace:
template: "NETWORK_subnet"
template:
"%{hiera('$NETWORK_subnet')}"
params:
NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]}
# NOTE: bind IP is found in Heat replacing the network name with the local node IP
$NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]}
# NOTE: bind IP is found in hiera replacing the network name with the local node IP
# for the given network; replacement examples (eg. for internal_api):
# internal_api -> IP
# internal_api_uri -> [IP]