Merge "Make BIND listen address configurable"

This commit is contained in:
Zuul 2018-06-29 09:01:23 +00:00 committed by Gerrit Code Review
commit 07822d782f
2 changed files with 8 additions and 0 deletions

View File

@ -80,6 +80,7 @@ parameters:
PacemakerRemoteNetwork: internal_api
TripleoUINetwork: internal_api
DesignateApiNetwork: internal_api
BINDNetwork: external
# We special-case the default ResolveNetwork for the CephStorage role
# for backwards compatibility, all other roles default to internal_api
CephStorageHostnameResolveNetwork: storage

View File

@ -69,6 +69,13 @@ outputs:
map_merge:
- get_attr: [DesignateBase, role_data, config_settings]
- designate::worker::worker_notify: true
dns::additional_options:
listen-on:
str_replace:
template:
"{ 127.0.0.1; %{hiera('$NETWORK')}; }"
params:
$NETWORK: {get_param: [ServiceNetMap, BINDNetwork]}
tripleo.designate_worker.firewall_rules:
'140 designate_worker udp':
proto: 'udp'