opscode/ohai — pull request #342 by jcsalterego (2014-06-18 21:35:16+00:00)
Title: OHAI-587: Rackspace plugin rescues Errno::ENOENT if xenstore-* utils are not found

The Rackspace plugin attempts to use `xenstore-ls` and `xenstore-read` to extract cloud server information regarding the region and networking. This does not exist on FirstGen servers, so an `Errno::ENOENT` (file not found) exception is thrown. It seems the ideal exception might be `Ohai::Exceptions::Exec`, but usage of the `Mixlib::ShellOut` library returns the uncaught `Errno::ENOENT`.

https://tickets.opscode.com/browse/OHAI-587