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.
1 parent 1e55070 commit ef2b671Copy full SHA for ef2b671
manifests/params.pp
@@ -476,7 +476,7 @@
476
}
477
478
## Additional graceful failures
479
- if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] < '7' and $facts['os']['name'] != 'Amazon' {
+ if $facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '7') < 0 and $facts['os']['name'] != 'Amazon' {
480
fail("Unsupported platform: puppetlabs-${module_name} only supports RedHat 7.0 and beyond.")
481
482
0 commit comments