diff --git a/manifests/params.pp b/manifests/params.pp index 21dee69b..a6e4a98e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -13,7 +13,7 @@ ) { case $::osfamily { 'RedHat': { - if $::operatingsystemrelease < '7' { + if versioncmp($::operatingsystemrelease, '7') < 0 { $selinux_policy_devel = 'selinux-policy' } else { $selinux_policy_devel = 'selinux-policy-devel'