Merge "Transform mongodb::server::bind_ip in an array"

This commit is contained in:
Zuul 2017-10-24 03:39:44 +00:00 committed by Gerrit Code Review
commit 6786ed6296

View File

@ -95,7 +95,11 @@ outputs:
# internal_api -> IP
# internal_api_uri -> [IP]
# internal_api_subnet - > IP/CIDR
mongodb::server::bind_ip: {get_param: [ServiceNetMap, MongodbNetwork]}
mongodb_bind_ip: {get_param: [ServiceNetMap, MongodbNetwork]}
# NOTE: This now takes an array, so we need to fetch the IP from hiera,
# else Heat won't substitute the network name for the IP.
mongodb::server::bind_ip:
- "%{hiera('mongodb_bind_ip')}"
-
if:
- internal_tls_enabled