Merge pull request 'feat: install bind-utils' (#98) from neoloc/add_bind_utils into develop

Reviewed-on: unkinben/puppet-prod#98
This commit is contained in:
Ben Vincent 2023-12-26 14:58:10 +09:30
commit a049338c9d
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