{"action":"created","issue":{"url":"https://api.github.com/repos/cfengine/masterfiles/issues/454","labels_url":"https://api.github.com/repos/cfengine/masterfiles/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/cfengine/masterfiles/issues/454/comments","events_url":"https://api.github.com/repos/cfengine/masterfiles/issues/454/events","html_url":"https://github.com/cfengine/masterfiles/pull/454","id":69911863,"number":454,"title":"Change: Improve CPU info inventory","user":{"login":"nickanderson","id":202896,"avatar_url":"https://avatars.githubusercontent.com/u/202896?v=3","gravatar_id":"","url":"https://api.github.com/users/nickanderson","html_url":"https://github.com/nickanderson","followers_url":"https://api.github.com/users/nickanderson/followers","following_url":"https://api.github.com/users/nickanderson/following{/other_user}","gists_url":"https://api.github.com/users/nickanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/nickanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickanderson/subscriptions","organizations_url":"https://api.github.com/users/nickanderson/orgs","repos_url":"https://api.github.com/users/nickanderson/repos","events_url":"https://api.github.com/users/nickanderson/events{/privacy}","received_events_url":"https://api.github.com/users/nickanderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-21T17:56:46Z","updated_at":"2015-04-22T15:08:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cfengine/masterfiles/pulls/454","html_url":"https://github.com/cfengine/masterfiles/pull/454","diff_url":"https://github.com/cfengine/masterfiles/pull/454.diff","patch_url":"https://github.com/cfengine/masterfiles/pull/454.patch"},"body":"dmidecode is unreliable, sometimes it outputs very badly formated processer\nversion information, sometimes it cannot get processor information at all.\n/proc/cpuinfo is a better source (at least on linux), and windows doesnt use\ndmidecode, it uses another method but offers the data as if it were from\ndmidecode.\n\nThis change abstracts cpuinfo into its own bundle. If /proc/cpuinfo is \navaialable it uses that (based on parsing proc), and if only dmidecode is\navailable it will use that.\n\nThis does not completly detangle windows from dmidecode, it only detangles CPU\nmodel name from being inventoried directly in the dmidecode bundle. This can\nserve as initial work to continue detangling other information gathered in the\ndmidecode bundle that is not actually from dmidecode.\n\nAdditionally there is stubbed out support for inventorying hyperthreading. It\nis left commented out as its detection is not completely straight forward, and\nit has questionable value.\n\nRef: https://dev.cfengine.com/issues/7014\n\nRefactored based on commentary in https://github.com/cfengine/masterfiles/pull/433"},"comment":{"url":"https://api.github.com/repos/cfengine/masterfiles/issues/comments/95227063","html_url":"https://github.com/cfengine/masterfiles/pull/454#issuecomment-95227063","issue_url":"https://api.github.com/repos/cfengine/masterfiles/issues/454","id":95227063,"user":{"login":"kacfengine","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacfengine","html_url":"https://github.com/kacfengine","followers_url":"https://api.github.com/users/kacfengine/followers","following_url":"https://api.github.com/users/kacfengine/following{/other_user}","gists_url":"https://api.github.com/users/kacfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/kacfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacfengine/subscriptions","organizations_url":"https://api.github.com/users/kacfengine/orgs","repos_url":"https://api.github.com/users/kacfengine/repos","events_url":"https://api.github.com/users/kacfengine/events{/privacy}","received_events_url":"https://api.github.com/users/kacfengine/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T15:08:55Z","updated_at":"2015-04-22T15:08:55Z","body":"HP-UX failed, but it's an unrelated spurious failure, so should be good."}}