{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/215895261","pull_request_review_id":153261905,"id":215895261,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTg5NTI2MQ==","diff_hunk":"@@ -0,0 +1,98 @@\n+databases = []\n+# The \"barclamp\" parameter doesn't really matter here, we want to use the same\n+# instance for all databases.\n+db_settings = CrowbarOpenStackHelper.database_settings(node, \"keystone\")\n+OpenStackDBHelper.roles_using_database.each do |role|\n+  if node.roles.include? role","path":"chef/cookbooks/crowbar-openstack/recipes/pg2mariadb_preparation.rb","position":6,"original_position":6,"commit_id":"64b47afe3f7b0067ae9905900ad08a850ab2aaf6","original_commit_id":"64b47afe3f7b0067ae9905900ad08a850ab2aaf6","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/Next: Use next to skip iteration. (https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals)","created_at":"2018-09-07T09:12:03Z","updated_at":"2018-09-07T09:12:05Z","html_url":"https://github.com/crowbar/crowbar-openstack/pull/1763#discussion_r215895261","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/215895261"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/1763#discussion_r215895261"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763","id":213864305,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzODY0MzA1","html_url":"https://github.com/crowbar/crowbar-openstack/pull/1763","diff_url":"https://github.com/crowbar/crowbar-openstack/pull/1763.diff","patch_url":"https://github.com/crowbar/crowbar-openstack/pull/1763.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/1763","number":1763,"state":"open","locked":false,"title":"Mysql prepare","user":{"login":"skazi0","id":2458112,"node_id":"MDQ6VXNlcjI0NTgxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2458112?v=4","gravatar_id":"","url":"https://api.github.com/users/skazi0","html_url":"https://github.com/skazi0","followers_url":"https://api.github.com/users/skazi0/followers","following_url":"https://api.github.com/users/skazi0/following{/other_user}","gists_url":"https://api.github.com/users/skazi0/gists{/gist_id}","starred_url":"https://api.github.com/users/skazi0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skazi0/subscriptions","organizations_url":"https://api.github.com/users/skazi0/orgs","repos_url":"https://api.github.com/users/skazi0/repos","events_url":"https://api.github.com/users/skazi0/events{/privacy}","received_events_url":"https://api.github.com/users/skazi0/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-07T09:11:52Z","updated_at":"2018-09-07T09:12:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a64a7d4c148da73211dab126a1f2ba786fafdfce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/1763/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/64b47afe3f7b0067ae9905900ad08a850ab2aaf6","head":{"label":"skazi0:mysql-prepare","ref":"mysql-prepare","sha":"64b47afe3f7b0067ae9905900ad08a850ab2aaf6","user":{"login":"skazi0","id":2458112,"node_id":"MDQ6VXNlcjI0NTgxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2458112?v=4","gravatar_id":"","url":"https://api.github.com/users/skazi0","html_url":"https://github.com/skazi0","followers_url":"https://api.github.com/users/skazi0/followers","following_url":"https://api.github.com/users/skazi0/following{/other_user}","gists_url":"https://api.github.com/users/skazi0/gists{/gist_id}","starred_url":"https://api.github.com/users/skazi0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skazi0/subscriptions","organizations_url":"https://api.github.com/users/skazi0/orgs","repos_url":"https://api.github.com/users/skazi0/repos","events_url":"https://api.github.com/users/skazi0/events{/privacy}","received_events_url":"https://api.github.com/users/skazi0/received_events","type":"User","site_admin":false},"repo":{"id":62718880,"node_id":"MDEwOlJlcG9zaXRvcnk2MjcxODg4MA==","name":"crowbar-openstack","full_name":"skazi0/crowbar-openstack","owner":{"login":"skazi0","id":2458112,"node_id":"MDQ6VXNlcjI0NTgxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/2458112?v=4","gravatar_id":"","url":"https://api.github.com/users/skazi0","html_url":"https://github.com/skazi0","followers_url":"https://api.github.com/users/skazi0/followers","following_url":"https://api.github.com/users/skazi0/following{/other_user}","gists_url":"https://api.github.com/users/skazi0/gists{/gist_id}","starred_url":"https://api.github.com/users/skazi0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skazi0/subscriptions","organizations_url":"https://api.github.com/users/skazi0/orgs","repos_url":"https://api.github.com/users/skazi0/repos","events_url":"https://api.github.com/users/skazi0/events{/privacy}","received_events_url":"https://api.github.com/users/skazi0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skazi0/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/skazi0/crowbar-openstack","forks_url":"https://api.github.com/repos/skazi0/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/skazi0/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skazi0/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skazi0/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/skazi0/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/skazi0/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/skazi0/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/skazi0/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/skazi0/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/skazi0/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/skazi0/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skazi0/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skazi0/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/skazi0/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skazi0/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/skazi0/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/skazi0/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/skazi0/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/skazi0/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/skazi0/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/skazi0/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/skazi0/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/skazi0/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/skazi0/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/skazi0/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/skazi0/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skazi0/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/skazi0/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skazi0/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/skazi0/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/skazi0/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/skazi0/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/skazi0/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skazi0/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/skazi0/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/skazi0/crowbar-openstack/deployments","created_at":"2016-07-06T12:20:57Z","updated_at":"2018-09-05T13:03:20Z","pushed_at":"2018-09-07T08:23:36Z","git_url":"git://github.com/skazi0/crowbar-openstack.git","ssh_url":"git@github.com:skazi0/crowbar-openstack.git","clone_url":"https://github.com/skazi0/crowbar-openstack.git","svn_url":"https://github.com/skazi0/crowbar-openstack","homepage":null,"size":21048,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"crowbar:stable/4.0","ref":"stable/4.0","sha":"bbfb0a78484275a98050b76bb7f2a0c9372597f4","user":{"login":"crowbar","id":2910205,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTAyMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2910205?v=4","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":39006903,"node_id":"MDEwOlJlcG9zaXRvcnkzOTAwNjkwMw==","name":"crowbar-openstack","full_name":"crowbar/crowbar-openstack","owner":{"login":"crowbar","id":2910205,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTAyMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2910205?v=4","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar-openstack","forks_url":"https://api.github.com/repos/crowbar/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/deployments","created_at":"2015-07-13T10:55:33Z","updated_at":"2018-09-07T06:04:12Z","pushed_at":"2018-09-07T09:11:52Z","git_url":"git://github.com/crowbar/crowbar-openstack.git","ssh_url":"git@github.com:crowbar/crowbar-openstack.git","clone_url":"https://github.com/crowbar/crowbar-openstack.git","svn_url":"https://github.com/crowbar/crowbar-openstack","homepage":null,"size":21204,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":95,"license":null,"forks":83,"open_issues":95,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/1763"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/1763"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/1763/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/1763/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/64b47afe3f7b0067ae9905900ad08a850ab2aaf6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}