updated defaults
This commit is contained in:
parent
15dee34b9e
commit
6e72a36d37
@ -25,7 +25,8 @@ class bind::defaults (
|
||||
$chroot_class = undef,
|
||||
$chroot_dir = undef,
|
||||
) {
|
||||
if $facts['puppet_version'] < '7.0.0' {
|
||||
# If puppet_version is 7 or greater, use ruby 4 api
|
||||
if $facts['puppet_version'] =~ '[7-8]\.(0|[1-9]\d*)\.(0|[1-9]\d*)' {
|
||||
unless is_bool($supported) {
|
||||
} else {
|
||||
unless $supported.is_a(Boolean) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user