{"action":"closed","number":2380,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380","id":49040548,"html_url":"https://github.com/ansible/ansible-modules-core/pull/2380","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2380.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2380.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2380","number":2380,"state":"closed","locked":false,"title":"Adding Facter Support to Setup.ps1","user":{"login":"blakfeld","id":1133823,"avatar_url":"https://avatars.githubusercontent.com/u/1133823?v=3","gravatar_id":"","url":"https://api.github.com/users/blakfeld","html_url":"https://github.com/blakfeld","followers_url":"https://api.github.com/users/blakfeld/followers","following_url":"https://api.github.com/users/blakfeld/following{/other_user}","gists_url":"https://api.github.com/users/blakfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/blakfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakfeld/subscriptions","organizations_url":"https://api.github.com/users/blakfeld/orgs","repos_url":"https://api.github.com/users/blakfeld/repos","events_url":"https://api.github.com/users/blakfeld/events{/privacy}","received_events_url":"https://api.github.com/users/blakfeld/received_events","type":"User","site_admin":false},"body":"The Linux \"setup\" module also queries facter (as well as a few other services). I added a bit at the end to add facter facts.\r\n\r\nIt checks to see if it can find the facter executable in the $PATH, and if so, runs `facter -j`, parses the json, and spits them out in the \"facter_fact_name\" format.","created_at":"2015-10-28T17:35:11Z","updated_at":"2016-01-15T01:36:44Z","closed_at":"2016-01-15T01:36:44Z","merged_at":"2016-01-15T01:36:44Z","merge_commit_sha":"768d263026f2238a3a1f68417fe83cbec7be28ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2380/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/02b3f74f507bac9013868c88cb8d164eec99b174","head":{"label":"blakfeld:add_facter_to_setup_ps1","ref":"add_facter_to_setup_ps1","sha":"02b3f74f507bac9013868c88cb8d164eec99b174","user":{"login":"blakfeld","id":1133823,"avatar_url":"https://avatars.githubusercontent.com/u/1133823?v=3","gravatar_id":"","url":"https://api.github.com/users/blakfeld","html_url":"https://github.com/blakfeld","followers_url":"https://api.github.com/users/blakfeld/followers","following_url":"https://api.github.com/users/blakfeld/following{/other_user}","gists_url":"https://api.github.com/users/blakfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/blakfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakfeld/subscriptions","organizations_url":"https://api.github.com/users/blakfeld/orgs","repos_url":"https://api.github.com/users/blakfeld/repos","events_url":"https://api.github.com/users/blakfeld/events{/privacy}","received_events_url":"https://api.github.com/users/blakfeld/received_events","type":"User","site_admin":false},"repo":{"id":31922894,"name":"ansible-modules-core","full_name":"blakfeld/ansible-modules-core","owner":{"login":"blakfeld","id":1133823,"avatar_url":"https://avatars.githubusercontent.com/u/1133823?v=3","gravatar_id":"","url":"https://api.github.com/users/blakfeld","html_url":"https://github.com/blakfeld","followers_url":"https://api.github.com/users/blakfeld/followers","following_url":"https://api.github.com/users/blakfeld/following{/other_user}","gists_url":"https://api.github.com/users/blakfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/blakfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakfeld/subscriptions","organizations_url":"https://api.github.com/users/blakfeld/orgs","repos_url":"https://api.github.com/users/blakfeld/repos","events_url":"https://api.github.com/users/blakfeld/events{/privacy}","received_events_url":"https://api.github.com/users/blakfeld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blakfeld/ansible-modules-core","description":"Ansible modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/blakfeld/ansible-modules-core","forks_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/blakfeld/ansible-modules-core/releases{/id}","created_at":"2015-03-09T21:11:36Z","updated_at":"2015-03-09T21:11:37Z","pushed_at":"2015-10-28T17:32:07Z","git_url":"git://github.com/blakfeld/ansible-modules-core.git","ssh_url":"git@github.com:blakfeld/ansible-modules-core.git","clone_url":"https://github.com/blakfeld/ansible-modules-core.git","svn_url":"https://github.com/blakfeld/ansible-modules-core","homepage":"","size":8303,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"22c2789b72c6ed8fa0735fd0aef81858372e1b8e","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":24474126,"name":"ansible-modules-core","full_name":"ansible/ansible-modules-core","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible-modules-core","description":"Ansible modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-core","forks_url":"https://api.github.com/repos/ansible/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-core/releases{/id}","created_at":"2014-09-25T20:28:25Z","updated_at":"2016-01-14T11:38:05Z","pushed_at":"2016-01-15T01:36:44Z","git_url":"git://github.com/ansible/ansible-modules-core.git","ssh_url":"git@github.com:ansible/ansible-modules-core.git","clone_url":"https://github.com/ansible/ansible-modules-core.git","svn_url":"https://github.com/ansible/ansible-modules-core","homepage":"","size":10794,"stargazers_count":535,"watchers_count":535,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1265,"mirror_url":null,"open_issues_count":834,"forks":1265,"open_issues":834,"watchers":535,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380"},"html":{"href":"https://github.com/ansible/ansible-modules-core/pull/2380"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2380"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2380/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2380/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/02b3f74f507bac9013868c88cb8d164eec99b174"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nitzmahone","id":6775756,"avatar_url":"https://avatars.githubusercontent.com/u/6775756?v=3","gravatar_id":"","url":"https://api.github.com/users/nitzmahone","html_url":"https://github.com/nitzmahone","followers_url":"https://api.github.com/users/nitzmahone/followers","following_url":"https://api.github.com/users/nitzmahone/following{/other_user}","gists_url":"https://api.github.com/users/nitzmahone/gists{/gist_id}","starred_url":"https://api.github.com/users/nitzmahone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitzmahone/subscriptions","organizations_url":"https://api.github.com/users/nitzmahone/orgs","repos_url":"https://api.github.com/users/nitzmahone/repos","events_url":"https://api.github.com/users/nitzmahone/events{/privacy}","received_events_url":"https://api.github.com/users/nitzmahone/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":23,"deletions":4,"changed_files":1}}