Starting with Chef 13 (Ohai 13.0.0+), Amazon Linux has been split into its own platform_family, so conditional code will need to be checked and updated.
See https://github.com/chef/ohai/pull/971 for more information on this change.
CDAP cookbook: https://github.com/caskdata/cdap_cookbook/pull/238
Coopr cookbook: https://github.com/caskdata/coopr_cookbook/pull/17
Hadoop cookbook: https://github.com/caskdata/hadoop_cookbook/pull/323