{"action":"closed","number":339,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339","id":59659959,"html_url":"https://github.com/puppetlabs/pxp-agent/pull/339","diff_url":"https://github.com/puppetlabs/pxp-agent/pull/339.diff","patch_url":"https://github.com/puppetlabs/pxp-agent/pull/339.patch","issue_url":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/339","number":339,"state":"closed","locked":false,"title":"Make use of ruby-pcp-client 0.2.0","user":{"login":"richardc","id":55650,"avatar_url":"https://avatars.githubusercontent.com/u/55650?v=3","gravatar_id":"","url":"https://api.github.com/users/richardc","html_url":"https://github.com/richardc","followers_url":"https://api.github.com/users/richardc/followers","following_url":"https://api.github.com/users/richardc/following{/other_user}","gists_url":"https://api.github.com/users/richardc/gists{/gist_id}","starred_url":"https://api.github.com/users/richardc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardc/subscriptions","organizations_url":"https://api.github.com/users/richardc/orgs","repos_url":"https://api.github.com/users/richardc/repos","events_url":"https://api.github.com/users/richardc/events{/privacy}","received_events_url":"https://api.github.com/users/richardc/received_events","type":"User","site_admin":false},"body":"Make use of the (not yet released) 0.2.0 feature of `PCP::SimpleLogger` so we can inspect the state of the client object should it not be connected and give more context as to why the connection failed.","created_at":"2016-02-17T15:29:19Z","updated_at":"2016-02-18T11:55:28Z","closed_at":"2016-02-18T11:55:28Z","merged_at":"2016-02-18T11:55:28Z","merge_commit_sha":"de14f3f8ca2a48c7e739691841af01003232c368","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/339/comments","statuses_url":"https://api.github.com/repos/puppetlabs/pxp-agent/statuses/7b02c9182aa0330bec11da77664fbe35376c53c1","head":{"label":"richardc:pcp_client_0.2.0","ref":"pcp_client_0.2.0","sha":"7b02c9182aa0330bec11da77664fbe35376c53c1","user":{"login":"richardc","id":55650,"avatar_url":"https://avatars.githubusercontent.com/u/55650?v=3","gravatar_id":"","url":"https://api.github.com/users/richardc","html_url":"https://github.com/richardc","followers_url":"https://api.github.com/users/richardc/followers","following_url":"https://api.github.com/users/richardc/following{/other_user}","gists_url":"https://api.github.com/users/richardc/gists{/gist_id}","starred_url":"https://api.github.com/users/richardc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardc/subscriptions","organizations_url":"https://api.github.com/users/richardc/orgs","repos_url":"https://api.github.com/users/richardc/repos","events_url":"https://api.github.com/users/richardc/events{/privacy}","received_events_url":"https://api.github.com/users/richardc/received_events","type":"User","site_admin":false},"repo":{"id":44378679,"name":"pxp-agent","full_name":"richardc/pxp-agent","owner":{"login":"richardc","id":55650,"avatar_url":"https://avatars.githubusercontent.com/u/55650?v=3","gravatar_id":"","url":"https://api.github.com/users/richardc","html_url":"https://github.com/richardc","followers_url":"https://api.github.com/users/richardc/followers","following_url":"https://api.github.com/users/richardc/following{/other_user}","gists_url":"https://api.github.com/users/richardc/gists{/gist_id}","starred_url":"https://api.github.com/users/richardc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardc/subscriptions","organizations_url":"https://api.github.com/users/richardc/orgs","repos_url":"https://api.github.com/users/richardc/repos","events_url":"https://api.github.com/users/richardc/events{/privacy}","received_events_url":"https://api.github.com/users/richardc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richardc/pxp-agent","description":"PCP eXecution Protocol Agent","fork":true,"url":"https://api.github.com/repos/richardc/pxp-agent","forks_url":"https://api.github.com/repos/richardc/pxp-agent/forks","keys_url":"https://api.github.com/repos/richardc/pxp-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richardc/pxp-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richardc/pxp-agent/teams","hooks_url":"https://api.github.com/repos/richardc/pxp-agent/hooks","issue_events_url":"https://api.github.com/repos/richardc/pxp-agent/issues/events{/number}","events_url":"https://api.github.com/repos/richardc/pxp-agent/events","assignees_url":"https://api.github.com/repos/richardc/pxp-agent/assignees{/user}","branches_url":"https://api.github.com/repos/richardc/pxp-agent/branches{/branch}","tags_url":"https://api.github.com/repos/richardc/pxp-agent/tags","blobs_url":"https://api.github.com/repos/richardc/pxp-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richardc/pxp-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richardc/pxp-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/richardc/pxp-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richardc/pxp-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/richardc/pxp-agent/languages","stargazers_url":"https://api.github.com/repos/richardc/pxp-agent/stargazers","contributors_url":"https://api.github.com/repos/richardc/pxp-agent/contributors","subscribers_url":"https://api.github.com/repos/richardc/pxp-agent/subscribers","subscription_url":"https://api.github.com/repos/richardc/pxp-agent/subscription","commits_url":"https://api.github.com/repos/richardc/pxp-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/richardc/pxp-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/richardc/pxp-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/richardc/pxp-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/richardc/pxp-agent/contents/{+path}","compare_url":"https://api.github.com/repos/richardc/pxp-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richardc/pxp-agent/merges","archive_url":"https://api.github.com/repos/richardc/pxp-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richardc/pxp-agent/downloads","issues_url":"https://api.github.com/repos/richardc/pxp-agent/issues{/number}","pulls_url":"https://api.github.com/repos/richardc/pxp-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/richardc/pxp-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/richardc/pxp-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richardc/pxp-agent/labels{/name}","releases_url":"https://api.github.com/repos/richardc/pxp-agent/releases{/id}","deployments_url":"https://api.github.com/repos/richardc/pxp-agent/deployments","created_at":"2015-10-16T10:34:12Z","updated_at":"2015-10-16T10:34:13Z","pushed_at":"2016-02-17T15:24:03Z","git_url":"git://github.com/richardc/pxp-agent.git","ssh_url":"git@github.com:richardc/pxp-agent.git","clone_url":"https://github.com/richardc/pxp-agent.git","svn_url":"https://github.com/richardc/pxp-agent","homepage":"","size":8929,"stargazers_count":0,"watchers_count":0,"language":"C++","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:stable","ref":"stable","sha":"0dca91f0b264e216fadf732da3b7aad18b15b82e","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":23231786,"name":"pxp-agent","full_name":"puppetlabs/pxp-agent","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/pxp-agent","description":"PCP eXecution Protocol Agent","fork":false,"url":"https://api.github.com/repos/puppetlabs/pxp-agent","forks_url":"https://api.github.com/repos/puppetlabs/pxp-agent/forks","keys_url":"https://api.github.com/repos/puppetlabs/pxp-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/pxp-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/pxp-agent/teams","hooks_url":"https://api.github.com/repos/puppetlabs/pxp-agent/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/pxp-agent/events","assignees_url":"https://api.github.com/repos/puppetlabs/pxp-agent/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/pxp-agent/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/pxp-agent/tags","blobs_url":"https://api.github.com/repos/puppetlabs/pxp-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/pxp-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/pxp-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/pxp-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/pxp-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/pxp-agent/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/pxp-agent/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/pxp-agent/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/pxp-agent/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/pxp-agent/subscription","commits_url":"https://api.github.com/repos/puppetlabs/pxp-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/pxp-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/pxp-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/pxp-agent/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/pxp-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/pxp-agent/merges","archive_url":"https://api.github.com/repos/puppetlabs/pxp-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/pxp-agent/downloads","issues_url":"https://api.github.com/repos/puppetlabs/pxp-agent/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/pxp-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/pxp-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/pxp-agent/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/pxp-agent/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/pxp-agent/deployments","created_at":"2014-08-22T16:25:01Z","updated_at":"2016-02-03T04:37:05Z","pushed_at":"2016-02-18T11:55:28Z","git_url":"git://github.com/puppetlabs/pxp-agent.git","ssh_url":"git@github.com:puppetlabs/pxp-agent.git","clone_url":"https://github.com/puppetlabs/pxp-agent.git","svn_url":"https://github.com/puppetlabs/pxp-agent","homepage":"","size":9270,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":1,"forks":19,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339"},"html":{"href":"https://github.com/puppetlabs/pxp-agent/pull/339"},"issue":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/339"},"comments":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/issues/339/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/pulls/339/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/pxp-agent/statuses/7b02c9182aa0330bec11da77664fbe35376c53c1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"james-stocks","id":12136665,"avatar_url":"https://avatars.githubusercontent.com/u/12136665?v=3","gravatar_id":"","url":"https://api.github.com/users/james-stocks","html_url":"https://github.com/james-stocks","followers_url":"https://api.github.com/users/james-stocks/followers","following_url":"https://api.github.com/users/james-stocks/following{/other_user}","gists_url":"https://api.github.com/users/james-stocks/gists{/gist_id}","starred_url":"https://api.github.com/users/james-stocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-stocks/subscriptions","organizations_url":"https://api.github.com/users/james-stocks/orgs","repos_url":"https://api.github.com/users/james-stocks/repos","events_url":"https://api.github.com/users/james-stocks/events{/privacy}","received_events_url":"https://api.github.com/users/james-stocks/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":5,"deletions":3,"changed_files":2}}