Adding support for puppet 7
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"puppet.editorService.puppet.version": "7.25.0"
|
||||
}
|
||||
@@ -25,8 +25,13 @@ class bind::defaults (
|
||||
$chroot_class = undef,
|
||||
$chroot_dir = undef,
|
||||
) {
|
||||
unless is_bool($supported) {
|
||||
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user