CentOS and RHEL 6 compatibility

Changing operatingsystem check to osfamily and adding RHEL 6 option.
Merge pull request #1 from agperson/master

Add CentOS and RHEL 6 compatibility to params