change $::operatingsystem to $::osfamily

Add redhat config support