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 0bf9198 commit 48fa672Copy full SHA for 48fa672
manifests/init.pp
@@ -494,7 +494,7 @@
494
}
495
496
497
- if ($::operatingsystem == 'CentOS') and (Integer($::operatingsystemmajrelease) < 7){
+ if ($::operatingsystem == 'CentOS') and (versioncmp($::operatingsystemmajrelease, '7') < 0) {
498
fail(translate('This module only works on CentOS version 7 and higher based systems.'))
499
500
0 commit comments