{"action":"created","comment":{"url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/comments/79783981","id":79783981,"diff_hunk":"@@ -124,18 +125,20 @@\n   }\n   # verify we have config file managed by concat\n   concat { $conffile:\n-    ensure => present,\n-    owner  => $user,\n-    group  => $group,\n-    mode   => '0640',\n+    ensure  => present,\n+    owner   => $user,\n+    group   => $group,\n+    mode    => '0640',\n+    require => Anchor['pgbouncer::begin'],","path":"manifests/init.pp","position":null,"original_position":30,"commit_id":"1e64fd0dacbdf2b84e4b9022150bf688dfd2a66d","original_commit_id":"2a355963b28e0a231b4ea287a8d07d8b0c668b39","user":{"login":"deric","id":138573,"avatar_url":"https://avatars.githubusercontent.com/u/138573?v=3","gravatar_id":"","url":"https://api.github.com/users/deric","html_url":"https://github.com/deric","followers_url":"https://api.github.com/users/deric/followers","following_url":"https://api.github.com/users/deric/following{/other_user}","gists_url":"https://api.github.com/users/deric/gists{/gist_id}","starred_url":"https://api.github.com/users/deric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deric/subscriptions","organizations_url":"https://api.github.com/users/deric/orgs","repos_url":"https://api.github.com/users/deric/repos","events_url":"https://api.github.com/users/deric/events{/privacy}","received_events_url":"https://api.github.com/users/deric/received_events","type":"User","site_admin":false},"body":"Yes, that would be definitely better. Fixed in 1e64fd0.","created_at":"2016-09-21T08:35:14Z","updated_at":"2016-09-21T08:35:14Z","html_url":"https://github.com/covermymeds/puppet-pgbouncer/pull/27#discussion_r79783981","pull_request_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/comments/79783981"},"html":{"href":"https://github.com/covermymeds/puppet-pgbouncer/pull/27#discussion_r79783981"},"pull_request":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27","id":85999016,"html_url":"https://github.com/covermymeds/puppet-pgbouncer/pull/27","diff_url":"https://github.com/covermymeds/puppet-pgbouncer/pull/27.diff","patch_url":"https://github.com/covermymeds/puppet-pgbouncer/pull/27.patch","issue_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/27","number":27,"state":"open","locked":false,"title":"Ensure resource ordering & Debian fix","user":{"login":"deric","id":138573,"avatar_url":"https://avatars.githubusercontent.com/u/138573?v=3","gravatar_id":"","url":"https://api.github.com/users/deric","html_url":"https://github.com/deric","followers_url":"https://api.github.com/users/deric/followers","following_url":"https://api.github.com/users/deric/following{/other_user}","gists_url":"https://api.github.com/users/deric/gists{/gist_id}","starred_url":"https://api.github.com/users/deric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deric/subscriptions","organizations_url":"https://api.github.com/users/deric/orgs","repos_url":"https://api.github.com/users/deric/repos","events_url":"https://api.github.com/users/deric/events{/privacy}","received_events_url":"https://api.github.com/users/deric/received_events","type":"User","site_admin":false},"body":"This PR fixes resource ordering during first installation. First we need to install `pgbouncer` package, then we can ensure file ownership (user account might not exist before).\r\n\r\nSecond commit changes defaults for Debian, where pgbouncer files are owned by `postgres` user.","created_at":"2016-09-20T15:27:57Z","updated_at":"2016-09-21T08:35:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81ec4f7321245eb6e0ce297d48577fd5ee8c9df7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27/commits","review_comments_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27/comments","review_comment_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/27/comments","statuses_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/statuses/1e64fd0dacbdf2b84e4b9022150bf688dfd2a66d","head":{"label":"deric:master","ref":"master","sha":"1e64fd0dacbdf2b84e4b9022150bf688dfd2a66d","user":{"login":"deric","id":138573,"avatar_url":"https://avatars.githubusercontent.com/u/138573?v=3","gravatar_id":"","url":"https://api.github.com/users/deric","html_url":"https://github.com/deric","followers_url":"https://api.github.com/users/deric/followers","following_url":"https://api.github.com/users/deric/following{/other_user}","gists_url":"https://api.github.com/users/deric/gists{/gist_id}","starred_url":"https://api.github.com/users/deric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deric/subscriptions","organizations_url":"https://api.github.com/users/deric/orgs","repos_url":"https://api.github.com/users/deric/repos","events_url":"https://api.github.com/users/deric/events{/privacy}","received_events_url":"https://api.github.com/users/deric/received_events","type":"User","site_admin":false},"repo":{"id":68723375,"name":"puppet-pgbouncer","full_name":"deric/puppet-pgbouncer","owner":{"login":"deric","id":138573,"avatar_url":"https://avatars.githubusercontent.com/u/138573?v=3","gravatar_id":"","url":"https://api.github.com/users/deric","html_url":"https://github.com/deric","followers_url":"https://api.github.com/users/deric/followers","following_url":"https://api.github.com/users/deric/following{/other_user}","gists_url":"https://api.github.com/users/deric/gists{/gist_id}","starred_url":"https://api.github.com/users/deric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deric/subscriptions","organizations_url":"https://api.github.com/users/deric/orgs","repos_url":"https://api.github.com/users/deric/repos","events_url":"https://api.github.com/users/deric/events{/privacy}","received_events_url":"https://api.github.com/users/deric/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deric/puppet-pgbouncer","description":null,"fork":true,"url":"https://api.github.com/repos/deric/puppet-pgbouncer","forks_url":"https://api.github.com/repos/deric/puppet-pgbouncer/forks","keys_url":"https://api.github.com/repos/deric/puppet-pgbouncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deric/puppet-pgbouncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deric/puppet-pgbouncer/teams","hooks_url":"https://api.github.com/repos/deric/puppet-pgbouncer/hooks","issue_events_url":"https://api.github.com/repos/deric/puppet-pgbouncer/issues/events{/number}","events_url":"https://api.github.com/repos/deric/puppet-pgbouncer/events","assignees_url":"https://api.github.com/repos/deric/puppet-pgbouncer/assignees{/user}","branches_url":"https://api.github.com/repos/deric/puppet-pgbouncer/branches{/branch}","tags_url":"https://api.github.com/repos/deric/puppet-pgbouncer/tags","blobs_url":"https://api.github.com/repos/deric/puppet-pgbouncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deric/puppet-pgbouncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deric/puppet-pgbouncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/deric/puppet-pgbouncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deric/puppet-pgbouncer/statuses/{sha}","languages_url":"https://api.github.com/repos/deric/puppet-pgbouncer/languages","stargazers_url":"https://api.github.com/repos/deric/puppet-pgbouncer/stargazers","contributors_url":"https://api.github.com/repos/deric/puppet-pgbouncer/contributors","subscribers_url":"https://api.github.com/repos/deric/puppet-pgbouncer/subscribers","subscription_url":"https://api.github.com/repos/deric/puppet-pgbouncer/subscription","commits_url":"https://api.github.com/repos/deric/puppet-pgbouncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/deric/puppet-pgbouncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/deric/puppet-pgbouncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/deric/puppet-pgbouncer/issues/comments{/number}","contents_url":"https://api.github.com/repos/deric/puppet-pgbouncer/contents/{+path}","compare_url":"https://api.github.com/repos/deric/puppet-pgbouncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deric/puppet-pgbouncer/merges","archive_url":"https://api.github.com/repos/deric/puppet-pgbouncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deric/puppet-pgbouncer/downloads","issues_url":"https://api.github.com/repos/deric/puppet-pgbouncer/issues{/number}","pulls_url":"https://api.github.com/repos/deric/puppet-pgbouncer/pulls{/number}","milestones_url":"https://api.github.com/repos/deric/puppet-pgbouncer/milestones{/number}","notifications_url":"https://api.github.com/repos/deric/puppet-pgbouncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deric/puppet-pgbouncer/labels{/name}","releases_url":"https://api.github.com/repos/deric/puppet-pgbouncer/releases{/id}","deployments_url":"https://api.github.com/repos/deric/puppet-pgbouncer/deployments","created_at":"2016-09-20T14:59:59Z","updated_at":"2016-09-20T15:00:00Z","pushed_at":"2016-09-21T08:31:54Z","git_url":"git://github.com/deric/puppet-pgbouncer.git","ssh_url":"git@github.com:deric/puppet-pgbouncer.git","clone_url":"https://github.com/deric/puppet-pgbouncer.git","svn_url":"https://github.com/deric/puppet-pgbouncer","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"covermymeds:master","ref":"master","sha":"40e306bfaadb1165f8e4b017aa2be31ad86118f3","user":{"login":"covermymeds","id":2488375,"avatar_url":"https://avatars.githubusercontent.com/u/2488375?v=3","gravatar_id":"","url":"https://api.github.com/users/covermymeds","html_url":"https://github.com/covermymeds","followers_url":"https://api.github.com/users/covermymeds/followers","following_url":"https://api.github.com/users/covermymeds/following{/other_user}","gists_url":"https://api.github.com/users/covermymeds/gists{/gist_id}","starred_url":"https://api.github.com/users/covermymeds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/covermymeds/subscriptions","organizations_url":"https://api.github.com/users/covermymeds/orgs","repos_url":"https://api.github.com/users/covermymeds/repos","events_url":"https://api.github.com/users/covermymeds/events{/privacy}","received_events_url":"https://api.github.com/users/covermymeds/received_events","type":"Organization","site_admin":false},"repo":{"id":41159278,"name":"puppet-pgbouncer","full_name":"covermymeds/puppet-pgbouncer","owner":{"login":"covermymeds","id":2488375,"avatar_url":"https://avatars.githubusercontent.com/u/2488375?v=3","gravatar_id":"","url":"https://api.github.com/users/covermymeds","html_url":"https://github.com/covermymeds","followers_url":"https://api.github.com/users/covermymeds/followers","following_url":"https://api.github.com/users/covermymeds/following{/other_user}","gists_url":"https://api.github.com/users/covermymeds/gists{/gist_id}","starred_url":"https://api.github.com/users/covermymeds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/covermymeds/subscriptions","organizations_url":"https://api.github.com/users/covermymeds/orgs","repos_url":"https://api.github.com/users/covermymeds/repos","events_url":"https://api.github.com/users/covermymeds/events{/privacy}","received_events_url":"https://api.github.com/users/covermymeds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/covermymeds/puppet-pgbouncer","description":"","fork":false,"url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer","forks_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/forks","keys_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/teams","hooks_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/hooks","issue_events_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/events{/number}","events_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/events","assignees_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/assignees{/user}","branches_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/branches{/branch}","tags_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/tags","blobs_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/statuses/{sha}","languages_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/languages","stargazers_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/stargazers","contributors_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/contributors","subscribers_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/subscribers","subscription_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/subscription","commits_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/comments{/number}","contents_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/contents/{+path}","compare_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/merges","archive_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/downloads","issues_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues{/number}","pulls_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls{/number}","milestones_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/milestones{/number}","notifications_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/labels{/name}","releases_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/releases{/id}","deployments_url":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/deployments","created_at":"2015-08-21T14:09:36Z","updated_at":"2016-01-11T21:11:08Z","pushed_at":"2016-09-21T08:31:54Z","git_url":"git://github.com/covermymeds/puppet-pgbouncer.git","ssh_url":"git@github.com:covermymeds/puppet-pgbouncer.git","clone_url":"https://github.com/covermymeds/puppet-pgbouncer.git","svn_url":"https://github.com/covermymeds/puppet-pgbouncer","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27"},"html":{"href":"https://github.com/covermymeds/puppet-pgbouncer/pull/27"},"issue":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/27"},"comments":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/covermymeds/puppet-pgbouncer/statuses/1e64fd0dacbdf2b84e4b9022150bf688dfd2a66d"}}}}
{"actor":{"display_login":"deric"}}