{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/poise/citadel/pulls/15","id":30166739,"html_url":"https://github.com/poise/citadel/pull/15","diff_url":"https://github.com/poise/citadel/pull/15.diff","patch_url":"https://github.com/poise/citadel/pull/15.patch","issue_url":"https://api.github.com/repos/poise/citadel/issues/15","number":15,"state":"closed","locked":false,"title":"Support IAM credentials direct from the EC2 metadata service","user":{"login":"gavinheavyside","id":39808,"avatar_url":"https://avatars.githubusercontent.com/u/39808?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinheavyside","html_url":"https://github.com/gavinheavyside","followers_url":"https://api.github.com/users/gavinheavyside/followers","following_url":"https://api.github.com/users/gavinheavyside/following{/other_user}","gists_url":"https://api.github.com/users/gavinheavyside/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinheavyside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinheavyside/subscriptions","organizations_url":"https://api.github.com/users/gavinheavyside/orgs","repos_url":"https://api.github.com/users/gavinheavyside/repos","events_url":"https://api.github.com/users/gavinheavyside/events{/privacy}","received_events_url":"https://api.github.com/users/gavinheavyside/received_events","type":"User","site_admin":false},"body":"While trying to bootstrap a new node in a private VPC subnet (unattended, using user data, not using `knife ec2` or similar), I found I was getting credential lookup failures at compile time as there was no node[:ec2] data, even after creating the hints file.\r\n\r\nRather than rely on Chef to be a credential concierge, I've added the ability to query the local metadata service directly, which is working nicely and has no reliance on run order or OHAI. This also ought to sidestep the slim chance of node data being out of date after credential rotation.\r\n\r\nI've also brought the Berksfile up to date and made the tests pass with the latest serverspec v2+","created_at":"2015-02-27T13:44:35Z","updated_at":"2016-05-18T08:27:08Z","closed_at":"2016-05-18T08:27:08Z","merged_at":null,"merge_commit_sha":"4c05b3705473b8bdb1e1e460cdfcf75e5598f98a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/poise/citadel/pulls/15/commits","review_comments_url":"https://api.github.com/repos/poise/citadel/pulls/15/comments","review_comment_url":"https://api.github.com/repos/poise/citadel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poise/citadel/issues/15/comments","statuses_url":"https://api.github.com/repos/poise/citadel/statuses/0ceb692244c02b7b6558d4b252c1d0a3449ebebc","head":{"label":"gavinheavyside:metadata-service","ref":"metadata-service","sha":"0ceb692244c02b7b6558d4b252c1d0a3449ebebc","user":{"login":"gavinheavyside","id":39808,"avatar_url":"https://avatars.githubusercontent.com/u/39808?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinheavyside","html_url":"https://github.com/gavinheavyside","followers_url":"https://api.github.com/users/gavinheavyside/followers","following_url":"https://api.github.com/users/gavinheavyside/following{/other_user}","gists_url":"https://api.github.com/users/gavinheavyside/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinheavyside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinheavyside/subscriptions","organizations_url":"https://api.github.com/users/gavinheavyside/orgs","repos_url":"https://api.github.com/users/gavinheavyside/repos","events_url":"https://api.github.com/users/gavinheavyside/events{/privacy}","received_events_url":"https://api.github.com/users/gavinheavyside/received_events","type":"User","site_admin":false},"repo":{"id":31411855,"name":"citadel","full_name":"gavinheavyside/citadel","owner":{"login":"gavinheavyside","id":39808,"avatar_url":"https://avatars.githubusercontent.com/u/39808?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinheavyside","html_url":"https://github.com/gavinheavyside","followers_url":"https://api.github.com/users/gavinheavyside/followers","following_url":"https://api.github.com/users/gavinheavyside/following{/other_user}","gists_url":"https://api.github.com/users/gavinheavyside/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinheavyside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinheavyside/subscriptions","organizations_url":"https://api.github.com/users/gavinheavyside/orgs","repos_url":"https://api.github.com/users/gavinheavyside/repos","events_url":"https://api.github.com/users/gavinheavyside/events{/privacy}","received_events_url":"https://api.github.com/users/gavinheavyside/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gavinheavyside/citadel","description":"Chef cookbook to help store secrets in S3 in a secure fashion","fork":true,"url":"https://api.github.com/repos/gavinheavyside/citadel","forks_url":"https://api.github.com/repos/gavinheavyside/citadel/forks","keys_url":"https://api.github.com/repos/gavinheavyside/citadel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gavinheavyside/citadel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gavinheavyside/citadel/teams","hooks_url":"https://api.github.com/repos/gavinheavyside/citadel/hooks","issue_events_url":"https://api.github.com/repos/gavinheavyside/citadel/issues/events{/number}","events_url":"https://api.github.com/repos/gavinheavyside/citadel/events","assignees_url":"https://api.github.com/repos/gavinheavyside/citadel/assignees{/user}","branches_url":"https://api.github.com/repos/gavinheavyside/citadel/branches{/branch}","tags_url":"https://api.github.com/repos/gavinheavyside/citadel/tags","blobs_url":"https://api.github.com/repos/gavinheavyside/citadel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gavinheavyside/citadel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gavinheavyside/citadel/git/refs{/sha}","trees_url":"https://api.github.com/repos/gavinheavyside/citadel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gavinheavyside/citadel/statuses/{sha}","languages_url":"https://api.github.com/repos/gavinheavyside/citadel/languages","stargazers_url":"https://api.github.com/repos/gavinheavyside/citadel/stargazers","contributors_url":"https://api.github.com/repos/gavinheavyside/citadel/contributors","subscribers_url":"https://api.github.com/repos/gavinheavyside/citadel/subscribers","subscription_url":"https://api.github.com/repos/gavinheavyside/citadel/subscription","commits_url":"https://api.github.com/repos/gavinheavyside/citadel/commits{/sha}","git_commits_url":"https://api.github.com/repos/gavinheavyside/citadel/git/commits{/sha}","comments_url":"https://api.github.com/repos/gavinheavyside/citadel/comments{/number}","issue_comment_url":"https://api.github.com/repos/gavinheavyside/citadel/issues/comments{/number}","contents_url":"https://api.github.com/repos/gavinheavyside/citadel/contents/{+path}","compare_url":"https://api.github.com/repos/gavinheavyside/citadel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gavinheavyside/citadel/merges","archive_url":"https://api.github.com/repos/gavinheavyside/citadel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gavinheavyside/citadel/downloads","issues_url":"https://api.github.com/repos/gavinheavyside/citadel/issues{/number}","pulls_url":"https://api.github.com/repos/gavinheavyside/citadel/pulls{/number}","milestones_url":"https://api.github.com/repos/gavinheavyside/citadel/milestones{/number}","notifications_url":"https://api.github.com/repos/gavinheavyside/citadel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gavinheavyside/citadel/labels{/name}","releases_url":"https://api.github.com/repos/gavinheavyside/citadel/releases{/id}","deployments_url":"https://api.github.com/repos/gavinheavyside/citadel/deployments","created_at":"2015-02-27T09:16:54Z","updated_at":"2015-02-27T09:16:54Z","pushed_at":"2015-10-12T07:48:32Z","git_url":"git://github.com/gavinheavyside/citadel.git","ssh_url":"git@github.com:gavinheavyside/citadel.git","clone_url":"https://github.com/gavinheavyside/citadel.git","svn_url":"https://github.com/gavinheavyside/citadel","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"poise:master","ref":"master","sha":"ca56f3cc1239db917bccd99c1f5d3d63db282adc","user":{"login":"poise","id":5799066,"avatar_url":"https://avatars.githubusercontent.com/u/5799066?v=3","gravatar_id":"","url":"https://api.github.com/users/poise","html_url":"https://github.com/poise","followers_url":"https://api.github.com/users/poise/followers","following_url":"https://api.github.com/users/poise/following{/other_user}","gists_url":"https://api.github.com/users/poise/gists{/gist_id}","starred_url":"https://api.github.com/users/poise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poise/subscriptions","organizations_url":"https://api.github.com/users/poise/orgs","repos_url":"https://api.github.com/users/poise/repos","events_url":"https://api.github.com/users/poise/events{/privacy}","received_events_url":"https://api.github.com/users/poise/received_events","type":"Organization","site_admin":false},"repo":{"id":14887588,"name":"citadel","full_name":"poise/citadel","owner":{"login":"poise","id":5799066,"avatar_url":"https://avatars.githubusercontent.com/u/5799066?v=3","gravatar_id":"","url":"https://api.github.com/users/poise","html_url":"https://github.com/poise","followers_url":"https://api.github.com/users/poise/followers","following_url":"https://api.github.com/users/poise/following{/other_user}","gists_url":"https://api.github.com/users/poise/gists{/gist_id}","starred_url":"https://api.github.com/users/poise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poise/subscriptions","organizations_url":"https://api.github.com/users/poise/orgs","repos_url":"https://api.github.com/users/poise/repos","events_url":"https://api.github.com/users/poise/events{/privacy}","received_events_url":"https://api.github.com/users/poise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poise/citadel","description":"Chef cookbook to help store secrets in S3 in a secure fashion","fork":false,"url":"https://api.github.com/repos/poise/citadel","forks_url":"https://api.github.com/repos/poise/citadel/forks","keys_url":"https://api.github.com/repos/poise/citadel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poise/citadel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poise/citadel/teams","hooks_url":"https://api.github.com/repos/poise/citadel/hooks","issue_events_url":"https://api.github.com/repos/poise/citadel/issues/events{/number}","events_url":"https://api.github.com/repos/poise/citadel/events","assignees_url":"https://api.github.com/repos/poise/citadel/assignees{/user}","branches_url":"https://api.github.com/repos/poise/citadel/branches{/branch}","tags_url":"https://api.github.com/repos/poise/citadel/tags","blobs_url":"https://api.github.com/repos/poise/citadel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poise/citadel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poise/citadel/git/refs{/sha}","trees_url":"https://api.github.com/repos/poise/citadel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poise/citadel/statuses/{sha}","languages_url":"https://api.github.com/repos/poise/citadel/languages","stargazers_url":"https://api.github.com/repos/poise/citadel/stargazers","contributors_url":"https://api.github.com/repos/poise/citadel/contributors","subscribers_url":"https://api.github.com/repos/poise/citadel/subscribers","subscription_url":"https://api.github.com/repos/poise/citadel/subscription","commits_url":"https://api.github.com/repos/poise/citadel/commits{/sha}","git_commits_url":"https://api.github.com/repos/poise/citadel/git/commits{/sha}","comments_url":"https://api.github.com/repos/poise/citadel/comments{/number}","issue_comment_url":"https://api.github.com/repos/poise/citadel/issues/comments{/number}","contents_url":"https://api.github.com/repos/poise/citadel/contents/{+path}","compare_url":"https://api.github.com/repos/poise/citadel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poise/citadel/merges","archive_url":"https://api.github.com/repos/poise/citadel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poise/citadel/downloads","issues_url":"https://api.github.com/repos/poise/citadel/issues{/number}","pulls_url":"https://api.github.com/repos/poise/citadel/pulls{/number}","milestones_url":"https://api.github.com/repos/poise/citadel/milestones{/number}","notifications_url":"https://api.github.com/repos/poise/citadel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poise/citadel/labels{/name}","releases_url":"https://api.github.com/repos/poise/citadel/releases{/id}","deployments_url":"https://api.github.com/repos/poise/citadel/deployments","created_at":"2013-12-03T08:26:25Z","updated_at":"2016-05-03T13:07:01Z","pushed_at":"2016-05-18T08:24:35Z","git_url":"git://github.com/poise/citadel.git","ssh_url":"git@github.com:poise/citadel.git","clone_url":"https://github.com/poise/citadel.git","svn_url":"https://github.com/poise/citadel","homepage":null,"size":40,"stargazers_count":106,"watchers_count":106,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":0,"forks":21,"open_issues":0,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poise/citadel/pulls/15"},"html":{"href":"https://github.com/poise/citadel/pull/15"},"issue":{"href":"https://api.github.com/repos/poise/citadel/issues/15"},"comments":{"href":"https://api.github.com/repos/poise/citadel/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/poise/citadel/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/poise/citadel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poise/citadel/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/poise/citadel/statuses/0ceb692244c02b7b6558d4b252c1d0a3449ebebc"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":0,"commits":3,"additions":32,"deletions":14,"changed_files":5}}