Support for Amazon Linux

Switching from operatingsystem to osfamily fact for Amazon Linux
support, compatible with RHEL/CentOS but not tested on Fedora.