Takashi Kajinami 0946b53eed Remove redundant override of dns::controls
The value is exactly same as the default value[1].

[1] https://github.com/theforeman/puppet-dns/blob/9.3.0/manifests/params.pp#L116-L122

Change-Id: Icee4d6a7fb670796de999e55502fe8226eb3a183
2022-05-13 11:38:59 +09:00

32 lines
923 B
Puppet

# Configures the BIND service for use with Designate's BIND backend
#
class openstack_integration::bind {
include openstack_integration::config
include openstack_integration::params
# NOTE (dmsimard): listen_on_v6 is false and overridden due to extended port
# configuration in additional_options
class { 'dns':
recursion => 'no',
allow_recursion => [],
listen_on_v6 => false,
additional_options => {
'listen-on' => 'port 5322 { any; }',
'listen-on-v6' => 'port 5322 { any; }',
'auth-nxdomain' => 'no',
}
}
# ::dns creates the rndc key but not a rndc.conf.
# Contribute this in upstream ::dns ?
file { '/etc/rndc.conf':
ensure => present,
owner => $::dns::params::owner,
group => $::dns::params::group,
content => template("${module_name}/rndc.conf.erb"),
require => Package[$dns::params::dns_server_package]
}
}