{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1","id":70742060,"html_url":"https://github.com/artem-sidorenko/puppet-apparmor/pull/1","diff_url":"https://github.com/artem-sidorenko/puppet-apparmor/pull/1.diff","patch_url":"https://github.com/artem-sidorenko/puppet-apparmor/pull/1.patch","issue_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/1","number":1,"state":"open","locked":false,"title":"Using stdlib::ensure_resource() to guarantee package definition only …","user":{"login":"teran","id":1399459,"avatar_url":"https://avatars.githubusercontent.com/u/1399459?v=3","gravatar_id":"","url":"https://api.github.com/users/teran","html_url":"https://github.com/teran","followers_url":"https://api.github.com/users/teran/followers","following_url":"https://api.github.com/users/teran/following{/other_user}","gists_url":"https://api.github.com/users/teran/gists{/gist_id}","starred_url":"https://api.github.com/users/teran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teran/subscriptions","organizations_url":"https://api.github.com/users/teran/orgs","repos_url":"https://api.github.com/users/teran/repos","events_url":"https://api.github.com/users/teran/events{/privacy}","received_events_url":"https://api.github.com/users/teran/received_events","type":"User","site_admin":false},"body":"…once\r\n\r\nIn some cases when you have multiple apparmor rules definitions we could get\r\nduplicate declaration error for apparmor package because of include within\r\nrule definition.\r\n\r\nThis fix prevents this behaviour(but adds stdlib dependency).\r\n\r\nSigned-off-by: Igor Shishkin <me@teran.ru>","created_at":"2016-05-19T18:27:26Z","updated_at":"2016-05-19T18:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1/commits","review_comments_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1/comments","review_comment_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/1/comments","statuses_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/statuses/e31caa45104ab5bdd98b0c2050c96b5639289461","head":{"label":"teran:master","ref":"master","sha":"e31caa45104ab5bdd98b0c2050c96b5639289461","user":{"login":"teran","id":1399459,"avatar_url":"https://avatars.githubusercontent.com/u/1399459?v=3","gravatar_id":"","url":"https://api.github.com/users/teran","html_url":"https://github.com/teran","followers_url":"https://api.github.com/users/teran/followers","following_url":"https://api.github.com/users/teran/following{/other_user}","gists_url":"https://api.github.com/users/teran/gists{/gist_id}","starred_url":"https://api.github.com/users/teran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teran/subscriptions","organizations_url":"https://api.github.com/users/teran/orgs","repos_url":"https://api.github.com/users/teran/repos","events_url":"https://api.github.com/users/teran/events{/privacy}","received_events_url":"https://api.github.com/users/teran/received_events","type":"User","site_admin":false},"repo":{"id":59231358,"name":"puppet-apparmor","full_name":"teran/puppet-apparmor","owner":{"login":"teran","id":1399459,"avatar_url":"https://avatars.githubusercontent.com/u/1399459?v=3","gravatar_id":"","url":"https://api.github.com/users/teran","html_url":"https://github.com/teran","followers_url":"https://api.github.com/users/teran/followers","following_url":"https://api.github.com/users/teran/following{/other_user}","gists_url":"https://api.github.com/users/teran/gists{/gist_id}","starred_url":"https://api.github.com/users/teran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teran/subscriptions","organizations_url":"https://api.github.com/users/teran/orgs","repos_url":"https://api.github.com/users/teran/repos","events_url":"https://api.github.com/users/teran/events{/privacy}","received_events_url":"https://api.github.com/users/teran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/teran/puppet-apparmor","description":"NOT MAINTAINED BY MYSELF anymore, feel free to take over","fork":true,"url":"https://api.github.com/repos/teran/puppet-apparmor","forks_url":"https://api.github.com/repos/teran/puppet-apparmor/forks","keys_url":"https://api.github.com/repos/teran/puppet-apparmor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teran/puppet-apparmor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teran/puppet-apparmor/teams","hooks_url":"https://api.github.com/repos/teran/puppet-apparmor/hooks","issue_events_url":"https://api.github.com/repos/teran/puppet-apparmor/issues/events{/number}","events_url":"https://api.github.com/repos/teran/puppet-apparmor/events","assignees_url":"https://api.github.com/repos/teran/puppet-apparmor/assignees{/user}","branches_url":"https://api.github.com/repos/teran/puppet-apparmor/branches{/branch}","tags_url":"https://api.github.com/repos/teran/puppet-apparmor/tags","blobs_url":"https://api.github.com/repos/teran/puppet-apparmor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teran/puppet-apparmor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teran/puppet-apparmor/git/refs{/sha}","trees_url":"https://api.github.com/repos/teran/puppet-apparmor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teran/puppet-apparmor/statuses/{sha}","languages_url":"https://api.github.com/repos/teran/puppet-apparmor/languages","stargazers_url":"https://api.github.com/repos/teran/puppet-apparmor/stargazers","contributors_url":"https://api.github.com/repos/teran/puppet-apparmor/contributors","subscribers_url":"https://api.github.com/repos/teran/puppet-apparmor/subscribers","subscription_url":"https://api.github.com/repos/teran/puppet-apparmor/subscription","commits_url":"https://api.github.com/repos/teran/puppet-apparmor/commits{/sha}","git_commits_url":"https://api.github.com/repos/teran/puppet-apparmor/git/commits{/sha}","comments_url":"https://api.github.com/repos/teran/puppet-apparmor/comments{/number}","issue_comment_url":"https://api.github.com/repos/teran/puppet-apparmor/issues/comments{/number}","contents_url":"https://api.github.com/repos/teran/puppet-apparmor/contents/{+path}","compare_url":"https://api.github.com/repos/teran/puppet-apparmor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teran/puppet-apparmor/merges","archive_url":"https://api.github.com/repos/teran/puppet-apparmor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teran/puppet-apparmor/downloads","issues_url":"https://api.github.com/repos/teran/puppet-apparmor/issues{/number}","pulls_url":"https://api.github.com/repos/teran/puppet-apparmor/pulls{/number}","milestones_url":"https://api.github.com/repos/teran/puppet-apparmor/milestones{/number}","notifications_url":"https://api.github.com/repos/teran/puppet-apparmor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teran/puppet-apparmor/labels{/name}","releases_url":"https://api.github.com/repos/teran/puppet-apparmor/releases{/id}","deployments_url":"https://api.github.com/repos/teran/puppet-apparmor/deployments","created_at":"2016-05-19T18:22:54Z","updated_at":"2016-05-19T18:22:55Z","pushed_at":"2016-05-19T18:27:02Z","git_url":"git://github.com/teran/puppet-apparmor.git","ssh_url":"git@github.com:teran/puppet-apparmor.git","clone_url":"https://github.com/teran/puppet-apparmor.git","svn_url":"https://github.com/teran/puppet-apparmor","homepage":"","size":234,"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":"artem-sidorenko:master","ref":"master","sha":"91d8e701f7f24bf25724617a3434e3ae702c987e","user":{"login":"artem-sidorenko","id":1645670,"avatar_url":"https://avatars.githubusercontent.com/u/1645670?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-sidorenko","html_url":"https://github.com/artem-sidorenko","followers_url":"https://api.github.com/users/artem-sidorenko/followers","following_url":"https://api.github.com/users/artem-sidorenko/following{/other_user}","gists_url":"https://api.github.com/users/artem-sidorenko/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-sidorenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-sidorenko/subscriptions","organizations_url":"https://api.github.com/users/artem-sidorenko/orgs","repos_url":"https://api.github.com/users/artem-sidorenko/repos","events_url":"https://api.github.com/users/artem-sidorenko/events{/privacy}","received_events_url":"https://api.github.com/users/artem-sidorenko/received_events","type":"User","site_admin":false},"repo":{"id":21859836,"name":"puppet-apparmor","full_name":"artem-sidorenko/puppet-apparmor","owner":{"login":"artem-sidorenko","id":1645670,"avatar_url":"https://avatars.githubusercontent.com/u/1645670?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-sidorenko","html_url":"https://github.com/artem-sidorenko","followers_url":"https://api.github.com/users/artem-sidorenko/followers","following_url":"https://api.github.com/users/artem-sidorenko/following{/other_user}","gists_url":"https://api.github.com/users/artem-sidorenko/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-sidorenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-sidorenko/subscriptions","organizations_url":"https://api.github.com/users/artem-sidorenko/orgs","repos_url":"https://api.github.com/users/artem-sidorenko/repos","events_url":"https://api.github.com/users/artem-sidorenko/events{/privacy}","received_events_url":"https://api.github.com/users/artem-sidorenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artem-sidorenko/puppet-apparmor","description":"NOT MAINTAINED BY MYSELF anymore, feel free to take over","fork":false,"url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor","forks_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/forks","keys_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/teams","hooks_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/hooks","issue_events_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/events{/number}","events_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/events","assignees_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/assignees{/user}","branches_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/branches{/branch}","tags_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/tags","blobs_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/git/refs{/sha}","trees_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/statuses/{sha}","languages_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/languages","stargazers_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/stargazers","contributors_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/contributors","subscribers_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/subscribers","subscription_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/subscription","commits_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/commits{/sha}","git_commits_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/git/commits{/sha}","comments_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/comments{/number}","issue_comment_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/comments{/number}","contents_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/contents/{+path}","compare_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/merges","archive_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/downloads","issues_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues{/number}","pulls_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls{/number}","milestones_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/milestones{/number}","notifications_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/labels{/name}","releases_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/releases{/id}","deployments_url":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/deployments","created_at":"2014-07-15T13:05:38Z","updated_at":"2016-02-06T16:44:30Z","pushed_at":"2015-01-23T21:23:01Z","git_url":"git://github.com/artem-sidorenko/puppet-apparmor.git","ssh_url":"git@github.com:artem-sidorenko/puppet-apparmor.git","clone_url":"https://github.com/artem-sidorenko/puppet-apparmor.git","svn_url":"https://github.com/artem-sidorenko/puppet-apparmor","homepage":"","size":234,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1"},"html":{"href":"https://github.com/artem-sidorenko/puppet-apparmor/pull/1"},"issue":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/1"},"comments":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/artem-sidorenko/puppet-apparmor/statuses/e31caa45104ab5bdd98b0c2050c96b5639289461"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":3,"changed_files":1}}