{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23","id":74663594,"html_url":"https://github.com/puppetlabs/beaker-answers/pull/23","diff_url":"https://github.com/puppetlabs/beaker-answers/pull/23.diff","patch_url":"https://github.com/puppetlabs/beaker-answers/pull/23.patch","issue_url":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/23","number":23,"state":"open","locked":false,"title":"(PE-16065) Do not fall back to ip address when setting puppetdb hostname","user":{"login":"demophoon","id":1445303,"avatar_url":"https://avatars.githubusercontent.com/u/1445303?v=3","gravatar_id":"","url":"https://api.github.com/users/demophoon","html_url":"https://github.com/demophoon","followers_url":"https://api.github.com/users/demophoon/followers","following_url":"https://api.github.com/users/demophoon/following{/other_user}","gists_url":"https://api.github.com/users/demophoon/gists{/gist_id}","starred_url":"https://api.github.com/users/demophoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demophoon/subscriptions","organizations_url":"https://api.github.com/users/demophoon/orgs","repos_url":"https://api.github.com/users/demophoon/repos","events_url":"https://api.github.com/users/demophoon/events{/privacy}","received_events_url":"https://api.github.com/users/demophoon/received_events","type":"User","site_admin":false},"body":"Before this commit the puppetdb hostname answer would fallback to being\r\nan ip address which would cause the installer to do incorrect things as\r\nwe depend on those answers to be hostnames for certificate generation\r\nand configuration bootstrap purposes.\r\n\r\nThis commit changes the q_puppetdb_hostname answer to be the hostname of\r\nthe puppetdb node instead of its ip address which is returned by the\r\nreachable_name method on the host object.","created_at":"2016-06-21T18:38:47Z","updated_at":"2016-06-21T18:38:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/23/comments","statuses_url":"https://api.github.com/repos/puppetlabs/beaker-answers/statuses/effd8f211252a285c6d083f3d679ecf3f02f9d40","head":{"label":"demophoon:fix/master/pe-16065-38-upgrade-puppetdb-hostname","ref":"fix/master/pe-16065-38-upgrade-puppetdb-hostname","sha":"effd8f211252a285c6d083f3d679ecf3f02f9d40","user":{"login":"demophoon","id":1445303,"avatar_url":"https://avatars.githubusercontent.com/u/1445303?v=3","gravatar_id":"","url":"https://api.github.com/users/demophoon","html_url":"https://github.com/demophoon","followers_url":"https://api.github.com/users/demophoon/followers","following_url":"https://api.github.com/users/demophoon/following{/other_user}","gists_url":"https://api.github.com/users/demophoon/gists{/gist_id}","starred_url":"https://api.github.com/users/demophoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demophoon/subscriptions","organizations_url":"https://api.github.com/users/demophoon/orgs","repos_url":"https://api.github.com/users/demophoon/repos","events_url":"https://api.github.com/users/demophoon/events{/privacy}","received_events_url":"https://api.github.com/users/demophoon/received_events","type":"User","site_admin":false},"repo":{"id":45282982,"name":"beaker-answers","full_name":"demophoon/beaker-answers","owner":{"login":"demophoon","id":1445303,"avatar_url":"https://avatars.githubusercontent.com/u/1445303?v=3","gravatar_id":"","url":"https://api.github.com/users/demophoon","html_url":"https://github.com/demophoon","followers_url":"https://api.github.com/users/demophoon/followers","following_url":"https://api.github.com/users/demophoon/following{/other_user}","gists_url":"https://api.github.com/users/demophoon/gists{/gist_id}","starred_url":"https://api.github.com/users/demophoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demophoon/subscriptions","organizations_url":"https://api.github.com/users/demophoon/orgs","repos_url":"https://api.github.com/users/demophoon/repos","events_url":"https://api.github.com/users/demophoon/events{/privacy}","received_events_url":"https://api.github.com/users/demophoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/demophoon/beaker-answers","description":"","fork":true,"url":"https://api.github.com/repos/demophoon/beaker-answers","forks_url":"https://api.github.com/repos/demophoon/beaker-answers/forks","keys_url":"https://api.github.com/repos/demophoon/beaker-answers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demophoon/beaker-answers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demophoon/beaker-answers/teams","hooks_url":"https://api.github.com/repos/demophoon/beaker-answers/hooks","issue_events_url":"https://api.github.com/repos/demophoon/beaker-answers/issues/events{/number}","events_url":"https://api.github.com/repos/demophoon/beaker-answers/events","assignees_url":"https://api.github.com/repos/demophoon/beaker-answers/assignees{/user}","branches_url":"https://api.github.com/repos/demophoon/beaker-answers/branches{/branch}","tags_url":"https://api.github.com/repos/demophoon/beaker-answers/tags","blobs_url":"https://api.github.com/repos/demophoon/beaker-answers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demophoon/beaker-answers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demophoon/beaker-answers/git/refs{/sha}","trees_url":"https://api.github.com/repos/demophoon/beaker-answers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demophoon/beaker-answers/statuses/{sha}","languages_url":"https://api.github.com/repos/demophoon/beaker-answers/languages","stargazers_url":"https://api.github.com/repos/demophoon/beaker-answers/stargazers","contributors_url":"https://api.github.com/repos/demophoon/beaker-answers/contributors","subscribers_url":"https://api.github.com/repos/demophoon/beaker-answers/subscribers","subscription_url":"https://api.github.com/repos/demophoon/beaker-answers/subscription","commits_url":"https://api.github.com/repos/demophoon/beaker-answers/commits{/sha}","git_commits_url":"https://api.github.com/repos/demophoon/beaker-answers/git/commits{/sha}","comments_url":"https://api.github.com/repos/demophoon/beaker-answers/comments{/number}","issue_comment_url":"https://api.github.com/repos/demophoon/beaker-answers/issues/comments{/number}","contents_url":"https://api.github.com/repos/demophoon/beaker-answers/contents/{+path}","compare_url":"https://api.github.com/repos/demophoon/beaker-answers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demophoon/beaker-answers/merges","archive_url":"https://api.github.com/repos/demophoon/beaker-answers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demophoon/beaker-answers/downloads","issues_url":"https://api.github.com/repos/demophoon/beaker-answers/issues{/number}","pulls_url":"https://api.github.com/repos/demophoon/beaker-answers/pulls{/number}","milestones_url":"https://api.github.com/repos/demophoon/beaker-answers/milestones{/number}","notifications_url":"https://api.github.com/repos/demophoon/beaker-answers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demophoon/beaker-answers/labels{/name}","releases_url":"https://api.github.com/repos/demophoon/beaker-answers/releases{/id}","deployments_url":"https://api.github.com/repos/demophoon/beaker-answers/deployments","created_at":"2015-10-31T00:28:36Z","updated_at":"2015-10-31T00:28:37Z","pushed_at":"2016-06-21T18:36:41Z","git_url":"git://github.com/demophoon/beaker-answers.git","ssh_url":"git@github.com:demophoon/beaker-answers.git","clone_url":"https://github.com/demophoon/beaker-answers.git","svn_url":"https://github.com/demophoon/beaker-answers","homepage":null,"size":114,"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":"puppetlabs:master","ref":"master","sha":"b6ab97cdb2f9e286371449359dc26cc1b93e5d39","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":38901953,"name":"beaker-answers","full_name":"puppetlabs/beaker-answers","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/beaker-answers","description":"","fork":false,"url":"https://api.github.com/repos/puppetlabs/beaker-answers","forks_url":"https://api.github.com/repos/puppetlabs/beaker-answers/forks","keys_url":"https://api.github.com/repos/puppetlabs/beaker-answers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/beaker-answers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/beaker-answers/teams","hooks_url":"https://api.github.com/repos/puppetlabs/beaker-answers/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/beaker-answers/events","assignees_url":"https://api.github.com/repos/puppetlabs/beaker-answers/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/beaker-answers/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/beaker-answers/tags","blobs_url":"https://api.github.com/repos/puppetlabs/beaker-answers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/beaker-answers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/beaker-answers/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/beaker-answers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/beaker-answers/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/beaker-answers/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/beaker-answers/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/beaker-answers/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/beaker-answers/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/beaker-answers/subscription","commits_url":"https://api.github.com/repos/puppetlabs/beaker-answers/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/beaker-answers/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/beaker-answers/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/beaker-answers/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/beaker-answers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/beaker-answers/merges","archive_url":"https://api.github.com/repos/puppetlabs/beaker-answers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/beaker-answers/downloads","issues_url":"https://api.github.com/repos/puppetlabs/beaker-answers/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/beaker-answers/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/beaker-answers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/beaker-answers/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/beaker-answers/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/beaker-answers/deployments","created_at":"2015-07-10T21:02:23Z","updated_at":"2016-06-13T16:50:57Z","pushed_at":"2016-06-21T18:12:42Z","git_url":"git://github.com/puppetlabs/beaker-answers.git","ssh_url":"git@github.com:puppetlabs/beaker-answers.git","clone_url":"https://github.com/puppetlabs/beaker-answers.git","svn_url":"https://github.com/puppetlabs/beaker-answers","homepage":null,"size":119,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23"},"html":{"href":"https://github.com/puppetlabs/beaker-answers/pull/23"},"issue":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/23"},"comments":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/beaker-answers/statuses/effd8f211252a285c6d083f3d679ecf3f02f9d40"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"demophoon"}}