{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/comments/32435962","id":32435962,"diff_hunk":"@@ -2,7 +2,13 @@\n   Facter.add(\"mco_#{node}_config\") do\n     setcode do\n       config = nil\n-      [\"/etc/puppetlabs/mcollective/#{node}.cfg\", \"/etc/mcollective/#{node}.cfg\"].each do |cfg|\n+      if Facter.fact(:kernel).value =~ /windows/i\n+        appData = Facter.fact(:common_appdata)","path":"lib/facter/mco_config.rb","position":6,"original_position":6,"commit_id":"8063710b9f6373aefbd739e5bea0fcf01a412353","original_commit_id":"8063710b9f6373aefbd739e5bea0fcf01a412353","user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"body":"I think @joshcooper mentioned this but it appears to have gotten lost - does this exist as a built in fact?","created_at":"2015-06-15T15:59:43Z","updated_at":"2015-06-15T15:59:43Z","html_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34#discussion_r32435962","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/comments/32435962"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34#discussion_r32435962"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34","id":37508138,"html_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34","diff_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/34","number":34,"state":"open","locked":false,"title":"(PUP-4479) Windows addition for upgrade","user":{"login":"cyberious","id":1703710,"avatar_url":"https://avatars.githubusercontent.com/u/1703710?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberious","html_url":"https://github.com/cyberious","followers_url":"https://api.github.com/users/cyberious/followers","following_url":"https://api.github.com/users/cyberious/following{/other_user}","gists_url":"https://api.github.com/users/cyberious/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberious/subscriptions","organizations_url":"https://api.github.com/users/cyberious/orgs","repos_url":"https://api.github.com/users/cyberious/repos","events_url":"https://api.github.com/users/cyberious/events{/privacy}","received_events_url":"https://api.github.com/users/cyberious/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-11T21:00:44Z","updated_at":"2015-06-15T15:59:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc8c0f53787ad3e6fb8f1a17abe0beeab9f4b5be","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/34/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/statuses/8063710b9f6373aefbd739e5bea0fcf01a412353","head":{"label":"cyberious:PUP-4479_batch","ref":"PUP-4479_batch","sha":"8063710b9f6373aefbd739e5bea0fcf01a412353","user":{"login":"cyberious","id":1703710,"avatar_url":"https://avatars.githubusercontent.com/u/1703710?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberious","html_url":"https://github.com/cyberious","followers_url":"https://api.github.com/users/cyberious/followers","following_url":"https://api.github.com/users/cyberious/following{/other_user}","gists_url":"https://api.github.com/users/cyberious/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberious/subscriptions","organizations_url":"https://api.github.com/users/cyberious/orgs","repos_url":"https://api.github.com/users/cyberious/repos","events_url":"https://api.github.com/users/cyberious/events{/privacy}","received_events_url":"https://api.github.com/users/cyberious/received_events","type":"User","site_admin":false},"repo":{"id":36831061,"name":"puppetlabs-puppet_agent","full_name":"cyberious/puppetlabs-puppet_agent","owner":{"login":"cyberious","id":1703710,"avatar_url":"https://avatars.githubusercontent.com/u/1703710?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberious","html_url":"https://github.com/cyberious","followers_url":"https://api.github.com/users/cyberious/followers","following_url":"https://api.github.com/users/cyberious/following{/other_user}","gists_url":"https://api.github.com/users/cyberious/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberious/subscriptions","organizations_url":"https://api.github.com/users/cyberious/orgs","repos_url":"https://api.github.com/users/cyberious/repos","events_url":"https://api.github.com/users/cyberious/events{/privacy}","received_events_url":"https://api.github.com/users/cyberious/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cyberious/puppetlabs-puppet_agent","description":"Module for managing Puppet-Agent","fork":true,"url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent","forks_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/forks","keys_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/teams","hooks_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/hooks","issue_events_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/issues/events{/number}","events_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/events","assignees_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/assignees{/user}","branches_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/branches{/branch}","tags_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/tags","blobs_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/statuses/{sha}","languages_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/languages","stargazers_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/stargazers","contributors_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/contributors","subscribers_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/subscribers","subscription_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/subscription","commits_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/contents/{+path}","compare_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/merges","archive_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/downloads","issues_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/issues{/number}","pulls_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/pulls{/number}","milestones_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/milestones{/number}","notifications_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/labels{/name}","releases_url":"https://api.github.com/repos/cyberious/puppetlabs-puppet_agent/releases{/id}","created_at":"2015-06-03T21:16:18Z","updated_at":"2015-06-03T21:16:18Z","pushed_at":"2015-06-13T00:04:02Z","git_url":"git://github.com/cyberious/puppetlabs-puppet_agent.git","ssh_url":"git@github.com:cyberious/puppetlabs-puppet_agent.git","clone_url":"https://github.com/cyberious/puppetlabs-puppet_agent.git","svn_url":"https://github.com/cyberious/puppetlabs-puppet_agent","homepage":"https://tickets.puppetlabs.com/browse/PUP","size":229,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"9d2b618d8397a9084bf49e637710be3fd3eacd2c","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35058943,"name":"puppetlabs-puppet_agent","full_name":"puppetlabs/puppetlabs-puppet_agent","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent","description":"Module for managing Puppet-Agent","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/releases{/id}","created_at":"2015-05-04T20:50:16Z","updated_at":"2015-06-03T21:16:16Z","pushed_at":"2015-06-13T00:04:02Z","git_url":"git://github.com/puppetlabs/puppetlabs-puppet_agent.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-puppet_agent.git","clone_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent.git","svn_url":"https://github.com/puppetlabs/puppetlabs-puppet_agent","homepage":"https://tickets.puppetlabs.com/browse/PUP","size":734,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/34"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/34"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-puppet_agent/statuses/8063710b9f6373aefbd739e5bea0fcf01a412353"}}}}