removed puppet support < 7
This commit is contained in:
parent
11d8bbf21f
commit
2076433243
@ -25,15 +25,10 @@ class bind::defaults (
|
|||||||
$chroot_class = undef,
|
$chroot_class = undef,
|
||||||
$chroot_dir = undef,
|
$chroot_dir = undef,
|
||||||
) {
|
) {
|
||||||
# If puppet_version is 7 or greater, use ruby 4 api
|
|
||||||
if $facts['puppetversion'] =~ '[7-8]\.(0|[1-9]\d*)\.(0|[1-9]\d*)' {
|
|
||||||
unless is_bool($supported) {
|
unless is_bool($supported) {
|
||||||
} else {
|
|
||||||
unless $supported.is_a(Boolean) {
|
|
||||||
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
unless $supported {
|
unless $supported {
|
||||||
fail('Platform is not supported')
|
fail('Platform is not supported')
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user