Update params.pp

Changed from using operatingsystemrelease to operatingsystemmajrelease to avoide errors when trying to run on RHEL & CentOS 7.