Showing with 18 additions and 4 deletions.
  1. +5 −0 .github/workflows/ci.yml
  2. +9 −0 CHANGELOG.md
  3. +1 −1 manifests/init.pp
  4. +1 −1 manifests/params.pp
  5. +1 −1 metadata.json
  6. +1 −1 spec/classes/dns_init_spec.rb
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: CI

on:
pull_request:
push:
branches:
- 'develop'
- 'master'
- '*-stable'


concurrency:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [11.0.1](https://github.com/theforeman/puppet-dns/tree/11.0.1) (2024-11-04)

[Full Changelog](https://github.com/theforeman/puppet-dns/compare/11.0.0...11.0.1)

**Fixed bugs:**

- BIND 9.18 compatiblity on Ubuntu 20.04 [\#267](https://github.com/theforeman/puppet-dns/pull/267) ([ekohl](https://github.com/ekohl))
- Fix the documentation of the disable\_empty\_zones parameter [\#265](https://github.com/theforeman/puppet-dns/pull/265) ([bigon](https://github.com/bigon))

## [11.0.0](https://github.com/theforeman/puppet-dns/tree/11.0.0) (2024-07-18)

[Full Changelog](https://github.com/theforeman/puppet-dns/compare/10.4.0...11.0.0)
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
# @param logging_channels
# A hash of logging channels to be created. See dns::logging::channel for options.
# @param disable_empty_zones
# A hash containing a list of empty zones that shouldn't be created by bind
# A list of empty zones that shouldn't be created by bind
# See: https://kb.isc.org/docs/aa-00800
#
# @see dns::zone
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$group = 'bind'
$rndcconfgen = '/usr/sbin/rndc-confgen'
$named_checkconf = $facts['os']['name'] ? {
'Ubuntu' => if versioncmp($facts['os']['release']['major'], '22.04') >= 0 { '/usr/bin/named-checkconf' } else { '/usr/sbin/named-checkconf' },
'Ubuntu' => '/usr/bin/named-checkconf',
default => if versioncmp($facts['os']['release']['major'], '12') >= 0 { '/usr/bin/named-checkconf' } else { '/usr/sbin/named-checkconf' },
}
$sysconfig_file = '/etc/default/named'
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{

Check warning on line 1 in metadata.json

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Skipping EOL operating system FreeBSD 11

Check warning on line 1 in metadata.json

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Skipping EOL operating system FreeBSD 11
"name": "theforeman-dns",
"version": "11.0.0",
"version": "11.0.1",
"author": "theforeman",
"summary": "Manage the ISC BIND daemon",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/dns_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
let(:checkconf) {
case facts[:os]['family']
when 'Debian'
['22.04', '12'].include?(facts[:os]['release']['major']) ? "/usr/bin/named-checkconf" : "/usr/sbin/named-checkconf"
facts[:os]['release']['major'] != '11' ? "/usr/bin/named-checkconf" : "/usr/sbin/named-checkconf"
when 'FreeBSD'
'/usr/local/sbin/named-checkconf'
else
Expand Down