Switched to operatingsystemmajrelease fact in params.pp to make it work ...

Switching from operatingsystemrelease to operatingsystemmajrelease fixes the failures in RHEL7 based distros. This compiles cleanly and applies correctly on my systems.