if $::osfamily == 'RedHat' { - if $::operatingsystemmajrelease >= 6 { - if $::operatingsystemmajrelease >= '6' { This actually fixes the issue.