Merge "Populate DNSMasq with host entries"
This commit is contained in:
commit
409c22736a
@ -14,6 +14,7 @@ class platform::dns::dnsmasq
|
|||||||
|
|
||||||
# dependent template variables
|
# dependent template variables
|
||||||
$install_uuid = $::install_uuid
|
$install_uuid = $::install_uuid
|
||||||
|
$system_mode = $::platform::params::system_mode
|
||||||
|
|
||||||
include ::platform::params
|
include ::platform::params
|
||||||
$config_path = $::platform::params::config_path
|
$config_path = $::platform::params::config_path
|
||||||
|
@ -130,6 +130,12 @@ server=/<%= @service_domain %>/<%= @dns_service_ip %>
|
|||||||
cname=registry.local,controller
|
cname=registry.local,controller
|
||||||
cname=registry-token-server.local,controller
|
cname=registry-token-server.local,controller
|
||||||
|
|
||||||
|
<%- if @system_mode == 'simplex' -%>
|
||||||
|
cname=controller,controller.internal
|
||||||
|
cname=controller-0,controller-0.internal
|
||||||
|
cname=controller-1,controller-1.internal
|
||||||
|
<%- end -%>
|
||||||
|
|
||||||
<%- if @distributed_cloud_role == 'systemcontroller' -%>
|
<%- if @distributed_cloud_role == 'systemcontroller' -%>
|
||||||
cname=registry.central,controller
|
cname=registry.central,controller
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user