{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/31423","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/31423/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31423/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/31423/events","html_url":"https://github.com/saltstack/salt/pull/31423","id":135583120,"number":31423,"title":"Fix uppercase computer names","user":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-22T23:55:24Z","updated_at":"2016-02-23T15:38:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/31423","html_url":"https://github.com/saltstack/salt/pull/31423","diff_url":"https://github.com/saltstack/salt/pull/31423.diff","patch_url":"https://github.com/saltstack/salt/pull/31423.patch"},"body":"Supercedes: https://github.com/saltstack/salt/pull/31375\r\nWhich superceded: https://github.com/saltstack/salt/pull/31222\r\n\r\nFixes: https://github.com/saltstack/salt/issues/31290\r\n\r\nFixes Capitalized Computer name for states and for current in set_computer_name function\r\nNo way to fix the capitalization in Pending Computer name. (That's how it's stored in the registry). I couldn't find where windows stores the un-capitalized version of the pending computer name. So, if\r\nthe pending name matches the new name, it will pass the new name. Otherwise, it will return an All Caps pending name.\r\n\r\nExecution Module returns:\r\n```\r\ngringo:\r\n    ----------\r\n    Computer Name:\r\n        ----------\r\n        Current:\r\n            Gringo\r\n        Pending:\r\n            Gringo-Test\r\n```\r\n\r\nState returns:\r\n```\r\ngringo:\r\n----------\r\n          ID: set_name\r\n    Function: system.computer_name\r\n        Name: Gringo-Test\r\n      Result: True\r\n     Comment: Computer name successfully set to 'Gringo-Test' (reboot required for change to take effect)\r\n     Started: 16:28:24.955000\r\n    Duration: 16.0 ms\r\n     Changes:\r\n              ----------\r\n              new:\r\n                  Gringo-Test\r\n              old:\r\n                  Gringo\r\n\r\nSummary for gringo\r\n------------\r\nSucceeded: 1 (changed=1)\r\nFailed:    0\r\n------------\r\nTotal states run:     1\r\n```\r\n\r\nAlso adds more computer information for get_system_info."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/187751490","html_url":"https://github.com/saltstack/salt/pull/31423#issuecomment-187751490","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31423","id":187751490,"user":{"login":"cachedout","id":111616,"avatar_url":"https://avatars.githubusercontent.com/u/111616?v=3","gravatar_id":"","url":"https://api.github.com/users/cachedout","html_url":"https://github.com/cachedout","followers_url":"https://api.github.com/users/cachedout/followers","following_url":"https://api.github.com/users/cachedout/following{/other_user}","gists_url":"https://api.github.com/users/cachedout/gists{/gist_id}","starred_url":"https://api.github.com/users/cachedout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachedout/subscriptions","organizations_url":"https://api.github.com/users/cachedout/orgs","repos_url":"https://api.github.com/users/cachedout/repos","events_url":"https://api.github.com/users/cachedout/events{/privacy}","received_events_url":"https://api.github.com/users/cachedout/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T15:38:09Z","updated_at":"2016-02-23T15:38:09Z","body":"Go Go Jenkins!"}}