opscode/ohai — pull request #241 by maf23 (2013-12-14 15:20:15+00:00)
Title: Work around EC2 bug

Added a rescue clause since ec2 may return a 404 for a resource it has
said it can provide. This is an ec2 bug which I have reported to them,
but while we wait for them to fix it this patch is needed since it
gets chef working again.

Without this patch ohai returns no ec2 data at all when one of the
resources return 404.