Adding support for puppet 7
This commit is contained in:
parent
b365dddd3b
commit
15dee34b9e
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"puppet.editorService.puppet.version": "7.25.0"
|
||||
}
|
||||
@ -25,9 +25,14 @@ class bind::defaults (
|
||||
$chroot_class = undef,
|
||||
$chroot_dir = undef,
|
||||
) {
|
||||
if $facts['puppet_version'] < '7.0.0' {
|
||||
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')
|
||||
}
|
||||
}
|
||||
}
|
||||
unless $supported {
|
||||
fail('Platform is not supported')
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user