{"action":"created","comment":{"url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/comments/72402791","id":72402791,"diff_hunk":"@@ -29,17 +29,16 @@\n \n db = node['wordpress']['db']\n \n-if is_local_host? db['host']\n+#if is_local_host? db['host']\n   include_recipe \"mysql::server\"\n \n   mysql_bin = (platform_family? 'windows') ? 'mysql.exe' : 'mysql'\n-  user = \"'#{db['user']}'@'#{db['host']}'\"\n+  user = \"'#{db['user']}'@'%'\"","path":"recipes/database.rb","position":10,"original_position":10,"commit_id":"5df04a15bbc2e3b7a15f5cfc4c9657c5dc272504","original_commit_id":"5df04a15bbc2e3b7a15f5cfc4c9657c5dc272504","user":{"login":"korney4eg","id":1872070,"avatar_url":"https://avatars.githubusercontent.com/u/1872070?v=3","gravatar_id":"","url":"https://api.github.com/users/korney4eg","html_url":"https://github.com/korney4eg","followers_url":"https://api.github.com/users/korney4eg/followers","following_url":"https://api.github.com/users/korney4eg/following{/other_user}","gists_url":"https://api.github.com/users/korney4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/korney4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korney4eg/subscriptions","organizations_url":"https://api.github.com/users/korney4eg/orgs","repos_url":"https://api.github.com/users/korney4eg/repos","events_url":"https://api.github.com/users/korney4eg/events{/privacy}","received_events_url":"https://api.github.com/users/korney4eg/received_events","type":"User","site_admin":false},"body":"ideally would be to give access only for those hosts, that need that access (app servers)","created_at":"2016-07-27T08:50:21Z","updated_at":"2016-07-27T08:50:21Z","html_url":"https://github.com/korney4eg/wordpress-cookbook/pull/4#discussion_r72402791","pull_request_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/comments/72402791"},"html":{"href":"https://github.com/korney4eg/wordpress-cookbook/pull/4#discussion_r72402791"},"pull_request":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4","id":77811315,"html_url":"https://github.com/korney4eg/wordpress-cookbook/pull/4","diff_url":"https://github.com/korney4eg/wordpress-cookbook/pull/4.diff","patch_url":"https://github.com/korney4eg/wordpress-cookbook/pull/4.patch","issue_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/4","number":4,"state":"open","locked":false,"title":"added vagrantfile, fixed mysql version issue","user":{"login":"erth111","id":17601217,"avatar_url":"https://avatars.githubusercontent.com/u/17601217?v=3","gravatar_id":"","url":"https://api.github.com/users/erth111","html_url":"https://github.com/erth111","followers_url":"https://api.github.com/users/erth111/followers","following_url":"https://api.github.com/users/erth111/following{/other_user}","gists_url":"https://api.github.com/users/erth111/gists{/gist_id}","starred_url":"https://api.github.com/users/erth111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erth111/subscriptions","organizations_url":"https://api.github.com/users/erth111/orgs","repos_url":"https://api.github.com/users/erth111/repos","events_url":"https://api.github.com/users/erth111/events{/privacy}","received_events_url":"https://api.github.com/users/erth111/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T13:51:49Z","updated_at":"2016-07-27T08:50:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97e2c9f6c3593fa5bba73704b7d2de77b581b620","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4/commits","review_comments_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4/comments","review_comment_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/4/comments","statuses_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/statuses/5df04a15bbc2e3b7a15f5cfc4c9657c5dc272504","head":{"label":"erth111:vagrant","ref":"vagrant","sha":"5df04a15bbc2e3b7a15f5cfc4c9657c5dc272504","user":{"login":"erth111","id":17601217,"avatar_url":"https://avatars.githubusercontent.com/u/17601217?v=3","gravatar_id":"","url":"https://api.github.com/users/erth111","html_url":"https://github.com/erth111","followers_url":"https://api.github.com/users/erth111/followers","following_url":"https://api.github.com/users/erth111/following{/other_user}","gists_url":"https://api.github.com/users/erth111/gists{/gist_id}","starred_url":"https://api.github.com/users/erth111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erth111/subscriptions","organizations_url":"https://api.github.com/users/erth111/orgs","repos_url":"https://api.github.com/users/erth111/repos","events_url":"https://api.github.com/users/erth111/events{/privacy}","received_events_url":"https://api.github.com/users/erth111/received_events","type":"User","site_admin":false},"repo":{"id":63325893,"name":"wordpress-cookbook","full_name":"erth111/wordpress-cookbook","owner":{"login":"erth111","id":17601217,"avatar_url":"https://avatars.githubusercontent.com/u/17601217?v=3","gravatar_id":"","url":"https://api.github.com/users/erth111","html_url":"https://github.com/erth111","followers_url":"https://api.github.com/users/erth111/followers","following_url":"https://api.github.com/users/erth111/following{/other_user}","gists_url":"https://api.github.com/users/erth111/gists{/gist_id}","starred_url":"https://api.github.com/users/erth111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erth111/subscriptions","organizations_url":"https://api.github.com/users/erth111/orgs","repos_url":"https://api.github.com/users/erth111/repos","events_url":"https://api.github.com/users/erth111/events{/privacy}","received_events_url":"https://api.github.com/users/erth111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erth111/wordpress-cookbook","description":"Development repository for Opscode Cookbook wordpress","fork":true,"url":"https://api.github.com/repos/erth111/wordpress-cookbook","forks_url":"https://api.github.com/repos/erth111/wordpress-cookbook/forks","keys_url":"https://api.github.com/repos/erth111/wordpress-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erth111/wordpress-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erth111/wordpress-cookbook/teams","hooks_url":"https://api.github.com/repos/erth111/wordpress-cookbook/hooks","issue_events_url":"https://api.github.com/repos/erth111/wordpress-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/erth111/wordpress-cookbook/events","assignees_url":"https://api.github.com/repos/erth111/wordpress-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/erth111/wordpress-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/erth111/wordpress-cookbook/tags","blobs_url":"https://api.github.com/repos/erth111/wordpress-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erth111/wordpress-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erth111/wordpress-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/erth111/wordpress-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erth111/wordpress-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/erth111/wordpress-cookbook/languages","stargazers_url":"https://api.github.com/repos/erth111/wordpress-cookbook/stargazers","contributors_url":"https://api.github.com/repos/erth111/wordpress-cookbook/contributors","subscribers_url":"https://api.github.com/repos/erth111/wordpress-cookbook/subscribers","subscription_url":"https://api.github.com/repos/erth111/wordpress-cookbook/subscription","commits_url":"https://api.github.com/repos/erth111/wordpress-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/erth111/wordpress-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/erth111/wordpress-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/erth111/wordpress-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/erth111/wordpress-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/erth111/wordpress-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erth111/wordpress-cookbook/merges","archive_url":"https://api.github.com/repos/erth111/wordpress-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erth111/wordpress-cookbook/downloads","issues_url":"https://api.github.com/repos/erth111/wordpress-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/erth111/wordpress-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/erth111/wordpress-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/erth111/wordpress-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erth111/wordpress-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/erth111/wordpress-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/erth111/wordpress-cookbook/deployments","created_at":"2016-07-14T10:13:20Z","updated_at":"2016-07-14T10:13:21Z","pushed_at":"2016-07-26T10:58:34Z","git_url":"git://github.com/erth111/wordpress-cookbook.git","ssh_url":"git@github.com:erth111/wordpress-cookbook.git","clone_url":"https://github.com/erth111/wordpress-cookbook.git","svn_url":"https://github.com/erth111/wordpress-cookbook","homepage":"https://supermarket.getchef.com/cookbooks/wordpress","size":4371,"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":"korney4eg:master","ref":"master","sha":"5b2bf75a2b2b207eccb1b2c34f8fec65d87c6e09","user":{"login":"korney4eg","id":1872070,"avatar_url":"https://avatars.githubusercontent.com/u/1872070?v=3","gravatar_id":"","url":"https://api.github.com/users/korney4eg","html_url":"https://github.com/korney4eg","followers_url":"https://api.github.com/users/korney4eg/followers","following_url":"https://api.github.com/users/korney4eg/following{/other_user}","gists_url":"https://api.github.com/users/korney4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/korney4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korney4eg/subscriptions","organizations_url":"https://api.github.com/users/korney4eg/orgs","repos_url":"https://api.github.com/users/korney4eg/repos","events_url":"https://api.github.com/users/korney4eg/events{/privacy}","received_events_url":"https://api.github.com/users/korney4eg/received_events","type":"User","site_admin":false},"repo":{"id":23348821,"name":"wordpress-cookbook","full_name":"korney4eg/wordpress-cookbook","owner":{"login":"korney4eg","id":1872070,"avatar_url":"https://avatars.githubusercontent.com/u/1872070?v=3","gravatar_id":"","url":"https://api.github.com/users/korney4eg","html_url":"https://github.com/korney4eg","followers_url":"https://api.github.com/users/korney4eg/followers","following_url":"https://api.github.com/users/korney4eg/following{/other_user}","gists_url":"https://api.github.com/users/korney4eg/gists{/gist_id}","starred_url":"https://api.github.com/users/korney4eg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korney4eg/subscriptions","organizations_url":"https://api.github.com/users/korney4eg/orgs","repos_url":"https://api.github.com/users/korney4eg/repos","events_url":"https://api.github.com/users/korney4eg/events{/privacy}","received_events_url":"https://api.github.com/users/korney4eg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/korney4eg/wordpress-cookbook","description":"Development repository for Opscode Cookbook wordpress","fork":true,"url":"https://api.github.com/repos/korney4eg/wordpress-cookbook","forks_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/forks","keys_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/teams","hooks_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/hooks","issue_events_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/events","assignees_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/tags","blobs_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/languages","stargazers_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/stargazers","contributors_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/contributors","subscribers_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/subscribers","subscription_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/subscription","commits_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/merges","archive_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/downloads","issues_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/korney4eg/wordpress-cookbook/deployments","created_at":"2014-08-26T11:11:36Z","updated_at":"2015-02-06T13:53:47Z","pushed_at":"2016-07-26T10:58:35Z","git_url":"git://github.com/korney4eg/wordpress-cookbook.git","ssh_url":"git@github.com:korney4eg/wordpress-cookbook.git","clone_url":"https://github.com/korney4eg/wordpress-cookbook.git","svn_url":"https://github.com/korney4eg/wordpress-cookbook","homepage":"https://supermarket.getchef.com/cookbooks/wordpress","size":4648,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4"},"html":{"href":"https://github.com/korney4eg/wordpress-cookbook/pull/4"},"issue":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/4"},"comments":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/korney4eg/wordpress-cookbook/statuses/5df04a15bbc2e3b7a15f5cfc4c9657c5dc272504"}}}}
{"actor":{"display_login":"korney4eg"}}