diff options
author | Steven Hardy <shardy@redhat.com> | 2017-10-24 10:30:39 +0100 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2017-11-02 10:58:38 +0000 |
commit | 7779bc8ad0ab43e2f57225cfded51e7e2ae18004 (patch) | |
tree | 31740d87f087aad064202464781a43e76ca16ad6 /puppet/extraconfig/pre_deploy | |
parent | 6f3409cab47aed9e5e1c4c77ee02edf2d260ec95 (diff) |
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:
ComputeRack1ExtraConfig:
nova::vncproxy::host: "%{hiera('rack1_internal_api')}"
ComputeRack2ExtraConfig:
nova::vncproxy::host: "%{hiera('rack2_internal_api')}"
Closes-Bug: #1726884
Change-Id: Icf7da1d78176c2ee0197ff2459d69d995cbb16ad
(cherry picked from commit 65a8b65754d2ea77ec2396658d4e73eb837d34bd)
Diffstat (limited to 'puppet/extraconfig/pre_deploy')
0 files changed, 0 insertions, 0 deletions