{"action":"created","issue":{"url":"https://api.github.com/repos/chef/ohai/issues/711","repository_url":"https://api.github.com/repos/chef/ohai","labels_url":"https://api.github.com/repos/chef/ohai/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/chef/ohai/issues/711/comments","events_url":"https://api.github.com/repos/chef/ohai/issues/711/events","html_url":"https://github.com/chef/ohai/pull/711","id":130486780,"number":711,"title":"Improve EC2 detection when hint isn't present","user":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/ohai/labels/Pending%20Maintainer%20Review","name":"Pending Maintainer Review","color":"eb6420"},{"url":"https://api.github.com/repos/chef/ohai/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-01T21:16:44Z","updated_at":"2016-02-02T19:47:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/ohai/pulls/711","html_url":"https://github.com/chef/ohai/pull/711","diff_url":"https://github.com/chef/ohai/pull/711.diff","patch_url":"https://github.com/chef/ohai/pull/711.patch"},"body":"This allows us to detect Linux hosts based on the DMI data as it includes amazon specific strings.  The present method of looking for an arp address fails when hosts are in a VPC, which they all are by default now."},"comment":{"url":"https://api.github.com/repos/chef/ohai/issues/comments/178783670","html_url":"https://github.com/chef/ohai/pull/711#issuecomment-178783670","issue_url":"https://api.github.com/repos/chef/ohai/issues/711","id":178783670,"user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T19:47:33Z","updated_at":"2016-02-02T19:47:33Z","body":"I'm kinda :-1: on parsing dmesg since its a ring buffer...  that information will wind up getting lost and the detection will fail, and if the user doesn't have manual hints setup then suddenly ohai will stop reporting the correct ec2 information, which will lead to bug reports...\r\n\r\nwe could do something to read dmesg to setup a hint file on the box during bootstrapping..."}}