We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 611d6ec + 248cbeb commit 06ffbffCopy full SHA for 06ffbff
manifests/init.pp
@@ -485,10 +485,9 @@
485
assert_type(Pattern[/^(Debian|RedHat|windows)$/], $facts['os']['family']) |$a, $b| {
486
fail('This module only works on Debian, Red Hat or Windows based systems.')
487
}
488
- }
489
-
490
- if ($facts['os']['family'] == 'RedHat') and (versioncmp($facts['os']['release']['major'], '7') < 0) {
491
- fail('This module only works on Red Hat based systems version 7 and higher.')
+ if ($facts['os']['family'] == 'RedHat') and (versioncmp($facts['os']['release']['major'], '7') < 0) {
+ fail('This module only works on Red Hat based systems version 7 and higher.')
+ }
492
493
494
if ($default_gateway) and (!$bridge) {
0 commit comments