{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/33884314","id":33884314,"diff_hunk":"@@ -2734,12 +2734,16 @@ def get_all_facts(module):\n     for (k, v) in facts.items():\n         setup_options[\"ansible_%s\" % k.replace('-', '_')] = v\n \n-    # Look for the path to the facter and ohai binary and set\n+    # Look for the path to the facter, cfacter, and ohai binaries and set\n     # the variable to that path.\n \n-    facter_path = module.get_bin_path('facter')\n+    facter_path = module.get_bin_path('cfacter')\n+    cfacter_path = module.get_bin_path('facter')\n     ohai_path = module.get_bin_path('ohai')","path":"lib/ansible/module_utils/facts.py","position":11,"original_position":11,"commit_id":"b3caa5a95fb4a757a04b5e048627979cc117886a","original_commit_id":"b3caa5a95fb4a757a04b5e048627979cc117886a","user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"body":"I think you meant to reverse these","created_at":"2015-07-04T03:19:42Z","updated_at":"2015-07-04T03:19:42Z","html_url":"https://github.com/ansible/ansible/pull/11475#discussion_r33884314","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/11475","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/33884314"},"html":{"href":"https://github.com/ansible/ansible/pull/11475#discussion_r33884314"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/11475"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/11475","id":39132773,"html_url":"https://github.com/ansible/ansible/pull/11475","diff_url":"https://github.com/ansible/ansible/pull/11475.diff","patch_url":"https://github.com/ansible/ansible/pull/11475.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/11475","number":11475,"state":"open","locked":false,"title":"Use cfacter instead of facter if possible","user":{"login":"nibalizer","id":195179,"avatar_url":"https://avatars.githubusercontent.com/u/195179?v=3","gravatar_id":"","url":"https://api.github.com/users/nibalizer","html_url":"https://github.com/nibalizer","followers_url":"https://api.github.com/users/nibalizer/followers","following_url":"https://api.github.com/users/nibalizer/following{/other_user}","gists_url":"https://api.github.com/users/nibalizer/gists{/gist_id}","starred_url":"https://api.github.com/users/nibalizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibalizer/subscriptions","organizations_url":"https://api.github.com/users/nibalizer/orgs","repos_url":"https://api.github.com/users/nibalizer/repos","events_url":"https://api.github.com/users/nibalizer/events{/privacy}","received_events_url":"https://api.github.com/users/nibalizer/received_events","type":"User","site_admin":false},"body":"CFacter is the facter replacement written in C++. It is available from\r\nthe puppetlabs repo.","created_at":"2015-07-02T22:42:35Z","updated_at":"2015-07-04T03:19:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a923da2bebc9df5568d012a7611d5c5fd3524d8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/11475/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/11475/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11475/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/b3caa5a95fb4a757a04b5e048627979cc117886a","head":{"label":"nibalizer:cfacter_support","ref":"cfacter_support","sha":"b3caa5a95fb4a757a04b5e048627979cc117886a","user":{"login":"nibalizer","id":195179,"avatar_url":"https://avatars.githubusercontent.com/u/195179?v=3","gravatar_id":"","url":"https://api.github.com/users/nibalizer","html_url":"https://github.com/nibalizer","followers_url":"https://api.github.com/users/nibalizer/followers","following_url":"https://api.github.com/users/nibalizer/following{/other_user}","gists_url":"https://api.github.com/users/nibalizer/gists{/gist_id}","starred_url":"https://api.github.com/users/nibalizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibalizer/subscriptions","organizations_url":"https://api.github.com/users/nibalizer/orgs","repos_url":"https://api.github.com/users/nibalizer/repos","events_url":"https://api.github.com/users/nibalizer/events{/privacy}","received_events_url":"https://api.github.com/users/nibalizer/received_events","type":"User","site_admin":false},"repo":{"id":38460303,"name":"ansible","full_name":"nibalizer/ansible","owner":{"login":"nibalizer","id":195179,"avatar_url":"https://avatars.githubusercontent.com/u/195179?v=3","gravatar_id":"","url":"https://api.github.com/users/nibalizer","html_url":"https://github.com/nibalizer","followers_url":"https://api.github.com/users/nibalizer/followers","following_url":"https://api.github.com/users/nibalizer/following{/other_user}","gists_url":"https://api.github.com/users/nibalizer/gists{/gist_id}","starred_url":"https://api.github.com/users/nibalizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibalizer/subscriptions","organizations_url":"https://api.github.com/users/nibalizer/orgs","repos_url":"https://api.github.com/users/nibalizer/repos","events_url":"https://api.github.com/users/nibalizer/events{/privacy}","received_events_url":"https://api.github.com/users/nibalizer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nibalizer/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/nibalizer/ansible","forks_url":"https://api.github.com/repos/nibalizer/ansible/forks","keys_url":"https://api.github.com/repos/nibalizer/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nibalizer/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nibalizer/ansible/teams","hooks_url":"https://api.github.com/repos/nibalizer/ansible/hooks","issue_events_url":"https://api.github.com/repos/nibalizer/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/nibalizer/ansible/events","assignees_url":"https://api.github.com/repos/nibalizer/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/nibalizer/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/nibalizer/ansible/tags","blobs_url":"https://api.github.com/repos/nibalizer/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nibalizer/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nibalizer/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/nibalizer/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nibalizer/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/nibalizer/ansible/languages","stargazers_url":"https://api.github.com/repos/nibalizer/ansible/stargazers","contributors_url":"https://api.github.com/repos/nibalizer/ansible/contributors","subscribers_url":"https://api.github.com/repos/nibalizer/ansible/subscribers","subscription_url":"https://api.github.com/repos/nibalizer/ansible/subscription","commits_url":"https://api.github.com/repos/nibalizer/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/nibalizer/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/nibalizer/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/nibalizer/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/nibalizer/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/nibalizer/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nibalizer/ansible/merges","archive_url":"https://api.github.com/repos/nibalizer/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nibalizer/ansible/downloads","issues_url":"https://api.github.com/repos/nibalizer/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/nibalizer/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/nibalizer/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/nibalizer/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nibalizer/ansible/labels{/name}","releases_url":"https://api.github.com/repos/nibalizer/ansible/releases{/id}","created_at":"2015-07-02T22:40:56Z","updated_at":"2015-07-02T22:41:02Z","pushed_at":"2015-07-02T22:42:10Z","git_url":"git://github.com/nibalizer/ansible.git","ssh_url":"git@github.com:nibalizer/ansible.git","clone_url":"https://github.com/nibalizer/ansible.git","svn_url":"https://github.com/nibalizer/ansible","homepage":"http://ansible.com/","size":33510,"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":"139138c6049a375acd7cf765b987b8223d19b1b6","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":3638964,"name":"ansible","full_name":"ansible/ansible","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","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","created_at":"2012-03-06T14:58:02Z","updated_at":"2015-07-04T02:57:39Z","pushed_at":"2015-07-04T03:12:17Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":224549,"stargazers_count":11675,"watchers_count":11675,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3478,"mirror_url":null,"open_issues_count":899,"forks":3478,"open_issues":899,"watchers":11675,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/11475"},"html":{"href":"https://github.com/ansible/ansible/pull/11475"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/11475"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/11475/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/11475/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/11475/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/b3caa5a95fb4a757a04b5e048627979cc117886a"}}}}