sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
222 stars 280 forks source link

[linux] add amazon to platform_family case statement #567

Closed cwjohnston closed 7 years ago

cwjohnston commented 7 years ago

Description

Adds amazon to case switch for RedHat derivatives in _linux recipe

This should fix one source of issues reported by Amazon Linux users under Chef 13+

Motivation and Context

Per https://github.com/chef/ohai/pull/971 Amazon Linux is detected as platform_family "amazon" starting with Ohai 13.0

Closes #558

Note that installation on Amazon Linux is still broken as described in #560, proposed fix for that issue is open in #565.

How Has This Been Tested?

Not yet tested.

Types of changes

Checklist: