{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/50440209","id":50440209,"diff_hunk":"@@ -0,0 +1,15 @@\n+def upgrade ta, td, a, d\n+  unless a.key? 'use_infoblox'\n+    a['use_infoblox'] = ta['use_infoblox']\n+  end\n+  unless a.key? 'infoblox'\n+    a['infoblox'] = ta['infoblox']\n+  end\n+  return a, d\n+end\n+\n+def downgrade ta, td, a, d","path":"chef/data_bags/crowbar/migrate/neutron/046_infoblox.rb","position":11,"original_position":11,"commit_id":"d00389118c8fb1e855b9797734d89d526f75b912","original_commit_id":"d00389118c8fb1e855b9797734d89d526f75b912","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Style/MethodDefParentheses: Use def with parentheses when there are parameters. (https://github.com/bbatsov/ruby-style-guide#method-parens)","created_at":"2016-01-21T18:22:18Z","updated_at":"2016-01-21T18:22:18Z","html_url":"https://github.com/crowbar/crowbar-openstack/pull/217#discussion_r50440209","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/50440209"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/217#discussion_r50440209"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217","id":56788650,"html_url":"https://github.com/crowbar/crowbar-openstack/pull/217","diff_url":"https://github.com/crowbar/crowbar-openstack/pull/217.diff","patch_url":"https://github.com/crowbar/crowbar-openstack/pull/217.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/217","number":217,"state":"open","locked":false,"title":"Add migration for Tex infoblox attributes","user":{"login":"rhafer","id":373399,"avatar_url":"https://avatars.githubusercontent.com/u/373399?v=3","gravatar_id":"","url":"https://api.github.com/users/rhafer","html_url":"https://github.com/rhafer","followers_url":"https://api.github.com/users/rhafer/followers","following_url":"https://api.github.com/users/rhafer/following{/other_user}","gists_url":"https://api.github.com/users/rhafer/gists{/gist_id}","starred_url":"https://api.github.com/users/rhafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhafer/subscriptions","organizations_url":"https://api.github.com/users/rhafer/orgs","repos_url":"https://api.github.com/users/rhafer/repos","events_url":"https://api.github.com/users/rhafer/events{/privacy}","received_events_url":"https://api.github.com/users/rhafer/received_events","type":"User","site_admin":false},"body":"While we don't support the Infoblox integration yet. We need to accept the\r\nattributes here to allow upgrading from Tex.","created_at":"2016-01-21T18:22:15Z","updated_at":"2016-01-21T18:22:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bb760da5729419dd2415bb75105537b9fca49d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217/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/217/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/d00389118c8fb1e855b9797734d89d526f75b912","head":{"label":"rhafer:infoblox-attr","ref":"infoblox-attr","sha":"d00389118c8fb1e855b9797734d89d526f75b912","user":{"login":"rhafer","id":373399,"avatar_url":"https://avatars.githubusercontent.com/u/373399?v=3","gravatar_id":"","url":"https://api.github.com/users/rhafer","html_url":"https://github.com/rhafer","followers_url":"https://api.github.com/users/rhafer/followers","following_url":"https://api.github.com/users/rhafer/following{/other_user}","gists_url":"https://api.github.com/users/rhafer/gists{/gist_id}","starred_url":"https://api.github.com/users/rhafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhafer/subscriptions","organizations_url":"https://api.github.com/users/rhafer/orgs","repos_url":"https://api.github.com/users/rhafer/repos","events_url":"https://api.github.com/users/rhafer/events{/privacy}","received_events_url":"https://api.github.com/users/rhafer/received_events","type":"User","site_admin":false},"repo":{"id":41904088,"name":"crowbar-openstack","full_name":"rhafer/crowbar-openstack","owner":{"login":"rhafer","id":373399,"avatar_url":"https://avatars.githubusercontent.com/u/373399?v=3","gravatar_id":"","url":"https://api.github.com/users/rhafer","html_url":"https://github.com/rhafer","followers_url":"https://api.github.com/users/rhafer/followers","following_url":"https://api.github.com/users/rhafer/following{/other_user}","gists_url":"https://api.github.com/users/rhafer/gists{/gist_id}","starred_url":"https://api.github.com/users/rhafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhafer/subscriptions","organizations_url":"https://api.github.com/users/rhafer/orgs","repos_url":"https://api.github.com/users/rhafer/repos","events_url":"https://api.github.com/users/rhafer/events{/privacy}","received_events_url":"https://api.github.com/users/rhafer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhafer/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/rhafer/crowbar-openstack","forks_url":"https://api.github.com/repos/rhafer/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/rhafer/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhafer/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhafer/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/rhafer/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/rhafer/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/rhafer/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/rhafer/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/rhafer/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/rhafer/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/rhafer/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhafer/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhafer/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhafer/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhafer/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/rhafer/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/rhafer/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/rhafer/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/rhafer/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/rhafer/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/rhafer/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhafer/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhafer/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhafer/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhafer/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/rhafer/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhafer/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/rhafer/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhafer/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/rhafer/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/rhafer/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/rhafer/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/rhafer/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhafer/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/rhafer/crowbar-openstack/releases{/id}","created_at":"2015-09-04T07:52:08Z","updated_at":"2015-09-04T07:52:09Z","pushed_at":"2016-01-21T18:21:51Z","git_url":"git://github.com/rhafer/crowbar-openstack.git","ssh_url":"git@github.com:rhafer/crowbar-openstack.git","clone_url":"https://github.com/rhafer/crowbar-openstack.git","svn_url":"https://github.com/rhafer/crowbar-openstack","homepage":null,"size":15870,"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":"crowbar:master","ref":"master","sha":"a2f908f80736afb9aa4ac04b02aa9b8e4c4e1145","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","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,"name":"crowbar-openstack","full_name":"crowbar/crowbar-openstack","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","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}","created_at":"2015-07-13T10:55:33Z","updated_at":"2016-01-11T12:29:07Z","pushed_at":"2016-01-21T18:22:15Z","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":16214,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":25,"forks":21,"open_issues":25,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/217"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/217"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/217/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/217/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/217/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/d00389118c8fb1e855b9797734d89d526f75b912"}}}}