Use os-release (present on all modern linux distros) BUT use old *-release files as fallback. os-release will only be used if no other *-release file is present. We have to do this for compatibility reasons, or older OS releases might get different "platform" or "platform_version" attributes (e.g. SLES12, RHEL7).
Use os-release (present on all modern linux distros) BUT use old *-release files as fallback.
os-release will only be used if no other *-release file is present.
We have to do this for compatibility reasons, or older OS releases might get different
"platform" or "platform_version" attributes (e.g. SLES12, RHEL7).

platform_family also does not need to be hardcoded anymore.
This would be the correct way, but we stick with "determine_platform_family" for compatibility reasons.

chef/ohai,mattray/ohai,jaymzh/ohai,higanworks/ohai,higanworks/ohai,jaymzh/ohai,chef/ohai,mattray/ohai