{"action":"closed","number":2672,"pull_request":{"url":"https://api.github.com/repos/mitchellh/packer/pulls/2672","id":43224035,"html_url":"https://github.com/mitchellh/packer/pull/2672","diff_url":"https://github.com/mitchellh/packer/pull/2672.diff","patch_url":"https://github.com/mitchellh/packer/pull/2672.patch","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/2672","number":2672,"state":"closed","locked":false,"title":"Fix and refactor block device mapping builder","user":{"login":"lightpriest","id":351445,"avatar_url":"https://avatars.githubusercontent.com/u/351445?v=3","gravatar_id":"","url":"https://api.github.com/users/lightpriest","html_url":"https://github.com/lightpriest","followers_url":"https://api.github.com/users/lightpriest/followers","following_url":"https://api.github.com/users/lightpriest/following{/other_user}","gists_url":"https://api.github.com/users/lightpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/lightpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightpriest/subscriptions","organizations_url":"https://api.github.com/users/lightpriest/orgs","repos_url":"https://api.github.com/users/lightpriest/repos","events_url":"https://api.github.com/users/lightpriest/events{/privacy}","received_events_url":"https://api.github.com/users/lightpriest/received_events","type":"User","site_admin":false},"body":"Fix NoDevice not properly configured #2398.\r\nRefactor the mapping builder to match BlockDeviceMapping from AWS SDK:\r\n\r\n* If NoDevice is specified, include NoDevice only.\r\n* If VirtualName starts with ephemeral, don't create Ebs (they are mutually\r\n  exclusive anyway)\r\n* Otherwise, assume Ebs and create it with the exact specified attributes by\r\n  the user.\r\n\r\nChange/add tests to reflect these changes.","created_at":"2015-08-24T21:27:41Z","updated_at":"2015-10-18T17:56:53Z","closed_at":"2015-10-18T17:56:53Z","merged_at":"2015-10-18T17:56:53Z","merge_commit_sha":"3037becf46f34c2aff33cd10fb568184ae1e516f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mitchellh/packer/pulls/2672/commits","review_comments_url":"https://api.github.com/repos/mitchellh/packer/pulls/2672/comments","review_comment_url":"https://api.github.com/repos/mitchellh/packer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2672/comments","statuses_url":"https://api.github.com/repos/mitchellh/packer/statuses/2a94b596ce93237517026ddd220da8b12f0132c7","head":{"label":"lightpriest:b-aws-ebs-block-device","ref":"b-aws-ebs-block-device","sha":"2a94b596ce93237517026ddd220da8b12f0132c7","user":{"login":"lightpriest","id":351445,"avatar_url":"https://avatars.githubusercontent.com/u/351445?v=3","gravatar_id":"","url":"https://api.github.com/users/lightpriest","html_url":"https://github.com/lightpriest","followers_url":"https://api.github.com/users/lightpriest/followers","following_url":"https://api.github.com/users/lightpriest/following{/other_user}","gists_url":"https://api.github.com/users/lightpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/lightpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightpriest/subscriptions","organizations_url":"https://api.github.com/users/lightpriest/orgs","repos_url":"https://api.github.com/users/lightpriest/repos","events_url":"https://api.github.com/users/lightpriest/events{/privacy}","received_events_url":"https://api.github.com/users/lightpriest/received_events","type":"User","site_admin":false},"repo":{"id":41327358,"name":"packer","full_name":"lightpriest/packer","owner":{"login":"lightpriest","id":351445,"avatar_url":"https://avatars.githubusercontent.com/u/351445?v=3","gravatar_id":"","url":"https://api.github.com/users/lightpriest","html_url":"https://github.com/lightpriest","followers_url":"https://api.github.com/users/lightpriest/followers","following_url":"https://api.github.com/users/lightpriest/following{/other_user}","gists_url":"https://api.github.com/users/lightpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/lightpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightpriest/subscriptions","organizations_url":"https://api.github.com/users/lightpriest/orgs","repos_url":"https://api.github.com/users/lightpriest/repos","events_url":"https://api.github.com/users/lightpriest/events{/privacy}","received_events_url":"https://api.github.com/users/lightpriest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lightpriest/packer","description":"Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.","fork":true,"url":"https://api.github.com/repos/lightpriest/packer","forks_url":"https://api.github.com/repos/lightpriest/packer/forks","keys_url":"https://api.github.com/repos/lightpriest/packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lightpriest/packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lightpriest/packer/teams","hooks_url":"https://api.github.com/repos/lightpriest/packer/hooks","issue_events_url":"https://api.github.com/repos/lightpriest/packer/issues/events{/number}","events_url":"https://api.github.com/repos/lightpriest/packer/events","assignees_url":"https://api.github.com/repos/lightpriest/packer/assignees{/user}","branches_url":"https://api.github.com/repos/lightpriest/packer/branches{/branch}","tags_url":"https://api.github.com/repos/lightpriest/packer/tags","blobs_url":"https://api.github.com/repos/lightpriest/packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lightpriest/packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lightpriest/packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/lightpriest/packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lightpriest/packer/statuses/{sha}","languages_url":"https://api.github.com/repos/lightpriest/packer/languages","stargazers_url":"https://api.github.com/repos/lightpriest/packer/stargazers","contributors_url":"https://api.github.com/repos/lightpriest/packer/contributors","subscribers_url":"https://api.github.com/repos/lightpriest/packer/subscribers","subscription_url":"https://api.github.com/repos/lightpriest/packer/subscription","commits_url":"https://api.github.com/repos/lightpriest/packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/lightpriest/packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/lightpriest/packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/lightpriest/packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/lightpriest/packer/contents/{+path}","compare_url":"https://api.github.com/repos/lightpriest/packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lightpriest/packer/merges","archive_url":"https://api.github.com/repos/lightpriest/packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lightpriest/packer/downloads","issues_url":"https://api.github.com/repos/lightpriest/packer/issues{/number}","pulls_url":"https://api.github.com/repos/lightpriest/packer/pulls{/number}","milestones_url":"https://api.github.com/repos/lightpriest/packer/milestones{/number}","notifications_url":"https://api.github.com/repos/lightpriest/packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lightpriest/packer/labels{/name}","releases_url":"https://api.github.com/repos/lightpriest/packer/releases{/id}","created_at":"2015-08-24T21:13:28Z","updated_at":"2015-08-24T21:13:30Z","pushed_at":"2015-08-24T21:24:39Z","git_url":"git://github.com/lightpriest/packer.git","ssh_url":"git@github.com:lightpriest/packer.git","clone_url":"https://github.com/lightpriest/packer.git","svn_url":"https://github.com/lightpriest/packer","homepage":"http://www.packer.io","size":9840,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"mitchellh:master","ref":"master","sha":"a55d2f1243338397c56b85b4ae89b16370072b55","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"repo":{"id":8966356,"name":"packer","full_name":"mitchellh/packer","owner":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitchellh/packer","description":"Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.","fork":false,"url":"https://api.github.com/repos/mitchellh/packer","forks_url":"https://api.github.com/repos/mitchellh/packer/forks","keys_url":"https://api.github.com/repos/mitchellh/packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitchellh/packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitchellh/packer/teams","hooks_url":"https://api.github.com/repos/mitchellh/packer/hooks","issue_events_url":"https://api.github.com/repos/mitchellh/packer/issues/events{/number}","events_url":"https://api.github.com/repos/mitchellh/packer/events","assignees_url":"https://api.github.com/repos/mitchellh/packer/assignees{/user}","branches_url":"https://api.github.com/repos/mitchellh/packer/branches{/branch}","tags_url":"https://api.github.com/repos/mitchellh/packer/tags","blobs_url":"https://api.github.com/repos/mitchellh/packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitchellh/packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitchellh/packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitchellh/packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitchellh/packer/statuses/{sha}","languages_url":"https://api.github.com/repos/mitchellh/packer/languages","stargazers_url":"https://api.github.com/repos/mitchellh/packer/stargazers","contributors_url":"https://api.github.com/repos/mitchellh/packer/contributors","subscribers_url":"https://api.github.com/repos/mitchellh/packer/subscribers","subscription_url":"https://api.github.com/repos/mitchellh/packer/subscription","commits_url":"https://api.github.com/repos/mitchellh/packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitchellh/packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitchellh/packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitchellh/packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitchellh/packer/contents/{+path}","compare_url":"https://api.github.com/repos/mitchellh/packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitchellh/packer/merges","archive_url":"https://api.github.com/repos/mitchellh/packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitchellh/packer/downloads","issues_url":"https://api.github.com/repos/mitchellh/packer/issues{/number}","pulls_url":"https://api.github.com/repos/mitchellh/packer/pulls{/number}","milestones_url":"https://api.github.com/repos/mitchellh/packer/milestones{/number}","notifications_url":"https://api.github.com/repos/mitchellh/packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitchellh/packer/labels{/name}","releases_url":"https://api.github.com/repos/mitchellh/packer/releases{/id}","created_at":"2013-03-23T05:43:03Z","updated_at":"2015-10-17T14:16:38Z","pushed_at":"2015-10-18T17:56:53Z","git_url":"git://github.com/mitchellh/packer.git","ssh_url":"git@github.com:mitchellh/packer.git","clone_url":"https://github.com/mitchellh/packer.git","svn_url":"https://github.com/mitchellh/packer","homepage":"http://www.packer.io","size":25230,"stargazers_count":4606,"watchers_count":4606,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":987,"mirror_url":null,"open_issues_count":350,"forks":987,"open_issues":350,"watchers":4606,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitchellh/packer/pulls/2672"},"html":{"href":"https://github.com/mitchellh/packer/pull/2672"},"issue":{"href":"https://api.github.com/repos/mitchellh/packer/issues/2672"},"comments":{"href":"https://api.github.com/repos/mitchellh/packer/issues/2672/comments"},"review_comments":{"href":"https://api.github.com/repos/mitchellh/packer/pulls/2672/comments"},"review_comment":{"href":"https://api.github.com/repos/mitchellh/packer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitchellh/packer/pulls/2672/commits"},"statuses":{"href":"https://api.github.com/repos/mitchellh/packer/statuses/2a94b596ce93237517026ddd220da8b12f0132c7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"markpeek","id":638982,"avatar_url":"https://avatars.githubusercontent.com/u/638982?v=3","gravatar_id":"","url":"https://api.github.com/users/markpeek","html_url":"https://github.com/markpeek","followers_url":"https://api.github.com/users/markpeek/followers","following_url":"https://api.github.com/users/markpeek/following{/other_user}","gists_url":"https://api.github.com/users/markpeek/gists{/gist_id}","starred_url":"https://api.github.com/users/markpeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpeek/subscriptions","organizations_url":"https://api.github.com/users/markpeek/orgs","repos_url":"https://api.github.com/users/markpeek/repos","events_url":"https://api.github.com/users/markpeek/events{/privacy}","received_events_url":"https://api.github.com/users/markpeek/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":27,"changed_files":2}}