OPSYS broken on Amazon Linux
Amazon Linux uses /etc/system-release to define the operating system name. Add that to the list of files that we inspect and also look for the "Amazon Linux" string.
CODE_REVIEW : looks good
I created the ticket and linked it here.
Agreed. We should make a ticket for devel. This was in stable. So, I was going for the minimal change.
Note that what we probably should do is read /etc/os-release, which is designed for this sort of thing
Amazon Linux stores its version string in /etc/system-release instead of /etc/redhat-release.