GitHub PullRequestEvent at 2014-05-16 15:51:37
Repository: postgres-formula
Actor: audreyr
Payload: {"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9","id":15994250,"html_url":"https://github.com/saltstack-formulas/postgres-formula/pull/9","diff_url":"https://github.com/saltstack-formulas/postgres-formula/pull/9.diff","patch_url":"https://github.com/saltstack-formulas/postgres-formula/pull/9.patch","issue_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/9","number":9,"state":"open","title":"Add pg_hba.conf, and creation of user/db","user":{"login":"audreyr","id":74739,"avatar_url":"https://avatars.githubusercontent.com/u/74739?","gravatar_id":"21c87b66d4e8fbe9d55219d3c1a2c73d","url":"https://api.github.com/users/audreyr","html_url":"https://github.com/audreyr","followers_url":"https://api.github.com/users/audreyr/followers","following_url":"https://api.github.com/users/audreyr/following{/other_user}","gists_url":"https://api.github.com/users/audreyr/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyr/subscriptions","organizations_url":"https://api.github.com/users/audreyr/orgs","repos_url":"https://api.github.com/users/audreyr/repos","events_url":"https://api.github.com/users/audreyr/events{/privacy}","received_events_url":"https://api.github.com/users/audreyr/received_events","type":"User","site_admin":false},"body":"In this change I add 3 states:\r\n\r\n* Creation of a pg_hba.conf file.\r\n  * At the moment I just covered Debian because I am not sure about the locations on RedHat & Arch.\r\n  * It has a line in it for the desired database and user (line 3 of pg_hba.conf). You will have to scroll to the right to see that I chose md5 auth for that line. The spaces are so that values are populated in line with the column headers.\r\n* Creation of an app db matching that line from the pg_hba.conf.\r\n* Creation of an app user matching that line from the pg_hba.conf.\r\n\r\nI also add the corresponding lines in the pillar example.\r\n\r\nNo need to accept this if it's too app-specific. Just thought you might be interested, or that it might help others browsing the issues. If it needs any cleanup, let me know.","created_at":"2014-05-16T15:51:36Z","updated_at":"2014-05-16T15:51:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9/commits","review_comments_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9/comments","review_comment_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/comments/{number}","comments_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/9/comments","statuses_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/statuses/0657d2fbdecbba3f468c7aae896f4b0d2f03817c","head":{"label":"audreyr:master","ref":"master","sha":"0657d2fbdecbba3f468c7aae896f4b0d2f03817c","user":{"login":"audreyr","id":74739,"avatar_url":"https://avatars.githubusercontent.com/u/74739?","gravatar_id":"21c87b66d4e8fbe9d55219d3c1a2c73d","url":"https://api.github.com/users/audreyr","html_url":"https://github.com/audreyr","followers_url":"https://api.github.com/users/audreyr/followers","following_url":"https://api.github.com/users/audreyr/following{/other_user}","gists_url":"https://api.github.com/users/audreyr/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyr/subscriptions","organizations_url":"https://api.github.com/users/audreyr/orgs","repos_url":"https://api.github.com/users/audreyr/repos","events_url":"https://api.github.com/users/audreyr/events{/privacy}","received_events_url":"https://api.github.com/users/audreyr/received_events","type":"User","site_admin":false},"repo":{"id":19835368,"name":"postgres-formula","full_name":"audreyr/postgres-formula","owner":{"login":"audreyr","id":74739,"avatar_url":"https://avatars.githubusercontent.com/u/74739?","gravatar_id":"21c87b66d4e8fbe9d55219d3c1a2c73d","url":"https://api.github.com/users/audreyr","html_url":"https://github.com/audreyr","followers_url":"https://api.github.com/users/audreyr/followers","following_url":"https://api.github.com/users/audreyr/following{/other_user}","gists_url":"https://api.github.com/users/audreyr/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyr/subscriptions","organizations_url":"https://api.github.com/users/audreyr/orgs","repos_url":"https://api.github.com/users/audreyr/repos","events_url":"https://api.github.com/users/audreyr/events{/privacy}","received_events_url":"https://api.github.com/users/audreyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/audreyr/postgres-formula","description":"","fork":true,"url":"https://api.github.com/repos/audreyr/postgres-formula","forks_url":"https://api.github.com/repos/audreyr/postgres-formula/forks","keys_url":"https://api.github.com/repos/audreyr/postgres-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/audreyr/postgres-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/audreyr/postgres-formula/teams","hooks_url":"https://api.github.com/repos/audreyr/postgres-formula/hooks","issue_events_url":"https://api.github.com/repos/audreyr/postgres-formula/issues/events{/number}","events_url":"https://api.github.com/repos/audreyr/postgres-formula/events","assignees_url":"https://api.github.com/repos/audreyr/postgres-formula/assignees{/user}","branches_url":"https://api.github.com/repos/audreyr/postgres-formula/branches{/branch}","tags_url":"https://api.github.com/repos/audreyr/postgres-formula/tags","blobs_url":"https://api.github.com/repos/audreyr/postgres-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/audreyr/postgres-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/audreyr/postgres-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/audreyr/postgres-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/audreyr/postgres-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/audreyr/postgres-formula/languages","stargazers_url":"https://api.github.com/repos/audreyr/postgres-formula/stargazers","contributors_url":"https://api.github.com/repos/audreyr/postgres-formula/contributors","subscribers_url":"https://api.github.com/repos/audreyr/postgres-formula/subscribers","subscription_url":"https://api.github.com/repos/audreyr/postgres-formula/subscription","commits_url":"https://api.github.com/repos/audreyr/postgres-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/audreyr/postgres-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/audreyr/postgres-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/audreyr/postgres-formula/issues/comments/{number}","contents_url":"https://api.github.com/repos/audreyr/postgres-formula/contents/{+path}","compare_url":"https://api.github.com/repos/audreyr/postgres-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/audreyr/postgres-formula/merges","archive_url":"https://api.github.com/repos/audreyr/postgres-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/audreyr/postgres-formula/downloads","issues_url":"https://api.github.com/repos/audreyr/postgres-formula/issues{/number}","pulls_url":"https://api.github.com/repos/audreyr/postgres-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/audreyr/postgres-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/audreyr/postgres-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/audreyr/postgres-formula/labels{/name}","releases_url":"https://api.github.com/repos/audreyr/postgres-formula/releases{/id}","created_at":"2014-05-15T21:09:27Z","updated_at":"2014-05-16T15:51:37Z","pushed_at":"2014-05-15T22:31:48Z","git_url":"git://github.com/audreyr/postgres-formula.git","ssh_url":"git@github.com:audreyr/postgres-formula.git","clone_url":"https://github.com/audreyr/postgres-formula.git","svn_url":"https://github.com/audreyr/postgres-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":227,"stargazers_count":0,"watchers_count":0,"language":"Scheme","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"saltstack-formulas:master","ref":"master","sha":"c8ba27b366f10556b3e82f5d095cdf75baf2233d","user":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?","gravatar_id":"8e25be5fcc652c85b518a5755986615f","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"repo":{"id":10653508,"name":"postgres-formula","full_name":"saltstack-formulas/postgres-formula","owner":{"login":"saltstack-formulas","id":4683350,"avatar_url":"https://avatars.githubusercontent.com/u/4683350?","gravatar_id":"8e25be5fcc652c85b518a5755986615f","url":"https://api.github.com/users/saltstack-formulas","html_url":"https://github.com/saltstack-formulas","followers_url":"https://api.github.com/users/saltstack-formulas/followers","following_url":"https://api.github.com/users/saltstack-formulas/following{/other_user}","gists_url":"https://api.github.com/users/saltstack-formulas/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack-formulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack-formulas/subscriptions","organizations_url":"https://api.github.com/users/saltstack-formulas/orgs","repos_url":"https://api.github.com/users/saltstack-formulas/repos","events_url":"https://api.github.com/users/saltstack-formulas/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack-formulas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack-formulas/postgres-formula","description":"","fork":false,"url":"https://api.github.com/repos/saltstack-formulas/postgres-formula","forks_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/forks","keys_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/teams","hooks_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/hooks","issue_events_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/events","assignees_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/tags","blobs_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/languages","stargazers_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/stargazers","contributors_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/contributors","subscribers_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/subscribers","subscription_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/subscription","commits_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/comments/{number}","contents_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/merges","archive_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/downloads","issues_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/labels{/name}","releases_url":"https://api.github.com/repos/saltstack-formulas/postgres-formula/releases{/id}","created_at":"2013-06-12T22:11:07Z","updated_at":"2014-05-16T15:40:55Z","pushed_at":"2014-05-08T14:58:19Z","git_url":"git://github.com/saltstack-formulas/postgres-formula.git","ssh_url":"git@github.com:saltstack-formulas/postgres-formula.git","clone_url":"https://github.com/saltstack-formulas/postgres-formula.git","svn_url":"https://github.com/saltstack-formulas/postgres-formula","homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","size":227,"stargazers_count":3,"watchers_count":3,"language":"Scheme","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":20,"mirror_url":null,"open_issues_count":1,"forks":20,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9"},"html":{"href":"https://github.com/saltstack-formulas/postgres-formula/pull/9"},"issue":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/9"},"comments":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack-formulas/postgres-formula/statuses/0657d2fbdecbba3f468c7aae896f4b0d2f03817c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":57,"deletions":0,"changed_files":4}}