{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/comments/50848836","id":50848836,"diff_hunk":"@@ -25,9 +25,7 @@\n     default:  { $json_package = 'rubygem-json' }\n   }\n \n-  package { $json_package:\n-    ensure  => installed,\n-  }\n+  ensure_packages($json_package)","path":"manifests/puppetmaster.pp","position":7,"original_position":7,"commit_id":"b777ca6bdfc53a319a73dd2512bc9eb2c14a07db","original_commit_id":"b777ca6bdfc53a319a73dd2512bc9eb2c14a07db","user":{"login":"timogoebel","id":4107560,"avatar_url":"https://avatars.githubusercontent.com/u/4107560?v=3","gravatar_id":"","url":"https://api.github.com/users/timogoebel","html_url":"https://github.com/timogoebel","followers_url":"https://api.github.com/users/timogoebel/followers","following_url":"https://api.github.com/users/timogoebel/following{/other_user}","gists_url":"https://api.github.com/users/timogoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/timogoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timogoebel/subscriptions","organizations_url":"https://api.github.com/users/timogoebel/orgs","repos_url":"https://api.github.com/users/timogoebel/repos","events_url":"https://api.github.com/users/timogoebel/events{/privacy}","received_events_url":"https://api.github.com/users/timogoebel/received_events","type":"User","site_admin":false},"body":"It is casted to an array in the code, but let me update this...","created_at":"2016-01-26T15:26:53Z","updated_at":"2016-01-26T15:26:53Z","html_url":"https://github.com/theforeman/puppet-foreman/pull/392#discussion_r50848836","pull_request_url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392","_links":{"self":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/comments/50848836"},"html":{"href":"https://github.com/theforeman/puppet-foreman/pull/392#discussion_r50848836"},"pull_request":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392","id":57220936,"html_url":"https://github.com/theforeman/puppet-foreman/pull/392","diff_url":"https://github.com/theforeman/puppet-foreman/pull/392.diff","patch_url":"https://github.com/theforeman/puppet-foreman/pull/392.patch","issue_url":"https://api.github.com/repos/theforeman/puppet-foreman/issues/392","number":392,"state":"open","locked":false,"title":"ensure json_package is installed via ensure_packages","user":{"login":"timogoebel","id":4107560,"avatar_url":"https://avatars.githubusercontent.com/u/4107560?v=3","gravatar_id":"","url":"https://api.github.com/users/timogoebel","html_url":"https://github.com/timogoebel","followers_url":"https://api.github.com/users/timogoebel/followers","following_url":"https://api.github.com/users/timogoebel/following{/other_user}","gists_url":"https://api.github.com/users/timogoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/timogoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timogoebel/subscriptions","organizations_url":"https://api.github.com/users/timogoebel/orgs","repos_url":"https://api.github.com/users/timogoebel/repos","events_url":"https://api.github.com/users/timogoebel/events{/privacy}","received_events_url":"https://api.github.com/users/timogoebel/received_events","type":"User","site_admin":false},"body":"This commit changes the installation of rubygem-json from an explicit\r\npackage definition to ensure_packages. This may prevent a duplicate\r\ndeclaration of the package resource.","created_at":"2016-01-26T14:57:21Z","updated_at":"2016-01-26T15:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37e896375ecab39b1073054620bdd0bea5b23708","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392/commits","review_comments_url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392/comments","review_comment_url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/puppet-foreman/issues/392/comments","statuses_url":"https://api.github.com/repos/theforeman/puppet-foreman/statuses/b777ca6bdfc53a319a73dd2512bc9eb2c14a07db","head":{"label":"timogoebel:json_ensure_packages","ref":"json_ensure_packages","sha":"b777ca6bdfc53a319a73dd2512bc9eb2c14a07db","user":{"login":"timogoebel","id":4107560,"avatar_url":"https://avatars.githubusercontent.com/u/4107560?v=3","gravatar_id":"","url":"https://api.github.com/users/timogoebel","html_url":"https://github.com/timogoebel","followers_url":"https://api.github.com/users/timogoebel/followers","following_url":"https://api.github.com/users/timogoebel/following{/other_user}","gists_url":"https://api.github.com/users/timogoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/timogoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timogoebel/subscriptions","organizations_url":"https://api.github.com/users/timogoebel/orgs","repos_url":"https://api.github.com/users/timogoebel/repos","events_url":"https://api.github.com/users/timogoebel/events{/privacy}","received_events_url":"https://api.github.com/users/timogoebel/received_events","type":"User","site_admin":false},"repo":{"id":43964913,"name":"puppet-foreman","full_name":"timogoebel/puppet-foreman","owner":{"login":"timogoebel","id":4107560,"avatar_url":"https://avatars.githubusercontent.com/u/4107560?v=3","gravatar_id":"","url":"https://api.github.com/users/timogoebel","html_url":"https://github.com/timogoebel","followers_url":"https://api.github.com/users/timogoebel/followers","following_url":"https://api.github.com/users/timogoebel/following{/other_user}","gists_url":"https://api.github.com/users/timogoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/timogoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timogoebel/subscriptions","organizations_url":"https://api.github.com/users/timogoebel/orgs","repos_url":"https://api.github.com/users/timogoebel/repos","events_url":"https://api.github.com/users/timogoebel/events{/privacy}","received_events_url":"https://api.github.com/users/timogoebel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timogoebel/puppet-foreman","description":"Puppet module for Foreman","fork":true,"url":"https://api.github.com/repos/timogoebel/puppet-foreman","forks_url":"https://api.github.com/repos/timogoebel/puppet-foreman/forks","keys_url":"https://api.github.com/repos/timogoebel/puppet-foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timogoebel/puppet-foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timogoebel/puppet-foreman/teams","hooks_url":"https://api.github.com/repos/timogoebel/puppet-foreman/hooks","issue_events_url":"https://api.github.com/repos/timogoebel/puppet-foreman/issues/events{/number}","events_url":"https://api.github.com/repos/timogoebel/puppet-foreman/events","assignees_url":"https://api.github.com/repos/timogoebel/puppet-foreman/assignees{/user}","branches_url":"https://api.github.com/repos/timogoebel/puppet-foreman/branches{/branch}","tags_url":"https://api.github.com/repos/timogoebel/puppet-foreman/tags","blobs_url":"https://api.github.com/repos/timogoebel/puppet-foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timogoebel/puppet-foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timogoebel/puppet-foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/timogoebel/puppet-foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timogoebel/puppet-foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/timogoebel/puppet-foreman/languages","stargazers_url":"https://api.github.com/repos/timogoebel/puppet-foreman/stargazers","contributors_url":"https://api.github.com/repos/timogoebel/puppet-foreman/contributors","subscribers_url":"https://api.github.com/repos/timogoebel/puppet-foreman/subscribers","subscription_url":"https://api.github.com/repos/timogoebel/puppet-foreman/subscription","commits_url":"https://api.github.com/repos/timogoebel/puppet-foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/timogoebel/puppet-foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/timogoebel/puppet-foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/timogoebel/puppet-foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/timogoebel/puppet-foreman/contents/{+path}","compare_url":"https://api.github.com/repos/timogoebel/puppet-foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timogoebel/puppet-foreman/merges","archive_url":"https://api.github.com/repos/timogoebel/puppet-foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timogoebel/puppet-foreman/downloads","issues_url":"https://api.github.com/repos/timogoebel/puppet-foreman/issues{/number}","pulls_url":"https://api.github.com/repos/timogoebel/puppet-foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/timogoebel/puppet-foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/timogoebel/puppet-foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timogoebel/puppet-foreman/labels{/name}","releases_url":"https://api.github.com/repos/timogoebel/puppet-foreman/releases{/id}","deployments_url":"https://api.github.com/repos/timogoebel/puppet-foreman/deployments","created_at":"2015-10-09T15:41:44Z","updated_at":"2015-10-09T15:41:45Z","pushed_at":"2016-01-26T14:56:29Z","git_url":"git://github.com/timogoebel/puppet-foreman.git","ssh_url":"git@github.com:timogoebel/puppet-foreman.git","clone_url":"https://github.com/timogoebel/puppet-foreman.git","svn_url":"https://github.com/timogoebel/puppet-foreman","homepage":"","size":673,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"theforeman:master","ref":"master","sha":"08911c3a6c776462fcc1aa99103fe588b8feb365","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":3449583,"name":"puppet-foreman","full_name":"theforeman/puppet-foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/puppet-foreman","description":"Puppet module for Foreman","fork":false,"url":"https://api.github.com/repos/theforeman/puppet-foreman","forks_url":"https://api.github.com/repos/theforeman/puppet-foreman/forks","keys_url":"https://api.github.com/repos/theforeman/puppet-foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/puppet-foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/puppet-foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/puppet-foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/puppet-foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/puppet-foreman/events","assignees_url":"https://api.github.com/repos/theforeman/puppet-foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/puppet-foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/puppet-foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/puppet-foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/puppet-foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/puppet-foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/puppet-foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/puppet-foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/puppet-foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/puppet-foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/puppet-foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/puppet-foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/puppet-foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/puppet-foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/puppet-foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/puppet-foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/puppet-foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/puppet-foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/puppet-foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/puppet-foreman/merges","archive_url":"https://api.github.com/repos/theforeman/puppet-foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/puppet-foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/puppet-foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/puppet-foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/puppet-foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/puppet-foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/puppet-foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/puppet-foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/puppet-foreman/deployments","created_at":"2012-02-15T13:19:01Z","updated_at":"2016-01-23T11:21:16Z","pushed_at":"2016-01-26T14:57:21Z","git_url":"git://github.com/theforeman/puppet-foreman.git","ssh_url":"git@github.com:theforeman/puppet-foreman.git","clone_url":"https://github.com/theforeman/puppet-foreman.git","svn_url":"https://github.com/theforeman/puppet-foreman","homepage":"","size":980,"stargazers_count":67,"watchers_count":67,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":22,"forks":155,"open_issues":22,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392"},"html":{"href":"https://github.com/theforeman/puppet-foreman/pull/392"},"issue":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/issues/392"},"comments":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/puppet-foreman/statuses/b777ca6bdfc53a319a73dd2512bc9eb2c14a07db"}}}}