commit 7779bc8ad0ab43e2f57225cfded51e7e2ae18004
Author: Steven Hardy <email address hidden>
Date: Tue Oct 24 10:30:39 2017 +0100
Add NetIpMap to hieradata for *ExtraConfig overrides
To enable per-node override of bind IPs via the per-role
ExtraConfig paramaters, we need to enable hiera interpolation
that references the keys defined in NetIpMap, so we add them
to the hieradata. To minimise the risk of any conflicts in
keynames it's added near the bottom of the hierarchy, but
I'm not aware of any conflicting names in our templates/modules.
This will allow per-node hieradata override of bind IPs e.g:
Reviewed: https:/ /review. openstack. org/517264 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=7779bc8ad0a b43e2f57225cfde d51e7e2ae18004
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 7779bc8ad0ab43e 2f57225cfded51e 7e2ae18004
Author: Steven Hardy <email address hidden>
Date: Tue Oct 24 10:30:39 2017 +0100
Add NetIpMap to hieradata for *ExtraConfig overrides
To enable per-node override of bind IPs via the per-role
ExtraConfig paramaters, we need to enable hiera interpolation
that references the keys defined in NetIpMap, so we add them
to the hieradata. To minimise the risk of any conflicts in
keynames it's added near the bottom of the hierarchy, but
I'm not aware of any conflicting names in our templates/modules.
This will allow per-node hieradata override of bind IPs e.g:
parameter _defaults:
ComputeRack1Ex traConfig:
nova: :vncproxy: :host: "%{hiera( 'rack1_ internal_ api')}"
ComputeRack2Ex traConfig:
nova: :vncproxy: :host: "%{hiera( 'rack2_ internal_ api')}"
Closes-Bug: #1726884 ee0197ff2459d69 d995cbb16ad 7ec2396658d4e73 eb837d34bd)
Change-Id: Icf7da1d78176c2
(cherry picked from commit 65a8b65754d2ea7