feat: install bind-utils

This commit is contained in:
Ben Vincent 2023-12-26 16:27:28 +11:00
parent 6f088b04cc
commit a144e4ec2d
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ lookup_options:
merge:
strategy: deep
# this switch installs bind-utils
bind::defaults::nsupdate_package: true
profiles::ntp::client::ntp_role: 'roles::infra::ntp::server'
profiles::ntp::client::peers:
- 0.pool.ntp.org

View File

@ -5,6 +5,9 @@ class profiles::dns::base (
Array $nameservers = ['8.8.8.8', '1.1.1.1'],
){
# install bind_utils
include bind::updater
# if ns_role is set, find all hosts matching that enc_role
if $ns_role == undef {
$nameserver_array = $nameservers