{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/comments/92903299","pull_request_review_id":13429107,"id":92903299,"diff_hunk":"@@ -75,7 +75,9 @@ def login_with_puppet_access_on(host, credentialed_dispatcher, opts={})\n \n             user = credentialed_dispatcher.credentials.login\n             password = credentialed_dispatcher.credentials.password\n-            puppet_access_on(host, 'login', {:stdin => \"#{user}\\n#{password}\\n\"})\n+            args = ['login']\n+            args.push \"--lifetime #{lifetime}\" if lifetime","path":"lib/beaker-pe/pe-client-tools/executable_helper.rb","position":6,"original_position":6,"commit_id":"b35cdf857178bb2a6006637daeb6a55091b0af57","original_commit_id":"b35cdf857178bb2a6006637daeb6a55091b0af57","user":{"login":"samwoods1","id":4604901,"avatar_url":"https://avatars.githubusercontent.com/u/4604901?v=3","gravatar_id":"","url":"https://api.github.com/users/samwoods1","html_url":"https://github.com/samwoods1","followers_url":"https://api.github.com/users/samwoods1/followers","following_url":"https://api.github.com/users/samwoods1/following{/other_user}","gists_url":"https://api.github.com/users/samwoods1/gists{/gist_id}","starred_url":"https://api.github.com/users/samwoods1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwoods1/subscriptions","organizations_url":"https://api.github.com/users/samwoods1/orgs","repos_url":"https://api.github.com/users/samwoods1/repos","events_url":"https://api.github.com/users/samwoods1/events{/privacy}","received_events_url":"https://api.github.com/users/samwoods1/received_events","type":"User","site_admin":false},"body":"If you pass in an array as an argument it acts as a single argument of type array.  If you add the * before the argument, it passes each member of the array as a separate argument.","created_at":"2016-12-16T23:26:51Z","updated_at":"2016-12-16T23:26:51Z","html_url":"https://github.com/puppetlabs/beaker-pe/pull/43#discussion_r92903299","pull_request_url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/comments/92903299"},"html":{"href":"https://github.com/puppetlabs/beaker-pe/pull/43#discussion_r92903299"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43","id":98385762,"html_url":"https://github.com/puppetlabs/beaker-pe/pull/43","diff_url":"https://github.com/puppetlabs/beaker-pe/pull/43.diff","patch_url":"https://github.com/puppetlabs/beaker-pe/pull/43.patch","issue_url":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/43","number":43,"state":"open","locked":false,"title":"(maint) fix puppet access helper to respect lifetime argument","user":{"login":"samwoods1","id":4604901,"avatar_url":"https://avatars.githubusercontent.com/u/4604901?v=3","gravatar_id":"","url":"https://api.github.com/users/samwoods1","html_url":"https://github.com/samwoods1","followers_url":"https://api.github.com/users/samwoods1/followers","following_url":"https://api.github.com/users/samwoods1/following{/other_user}","gists_url":"https://api.github.com/users/samwoods1/gists{/gist_id}","starred_url":"https://api.github.com/users/samwoods1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwoods1/subscriptions","organizations_url":"https://api.github.com/users/samwoods1/orgs","repos_url":"https://api.github.com/users/samwoods1/repos","events_url":"https://api.github.com/users/samwoods1/events{/privacy}","received_events_url":"https://api.github.com/users/samwoods1/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-16T19:00:58Z","updated_at":"2016-12-16T23:26:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27019e2077e5e6c7a1a831e9a54cce3682d7d829","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/43/comments","statuses_url":"https://api.github.com/repos/puppetlabs/beaker-pe/statuses/b35cdf857178bb2a6006637daeb6a55091b0af57","head":{"label":"samwoods1:fix_access_helper","ref":"fix_access_helper","sha":"b35cdf857178bb2a6006637daeb6a55091b0af57","user":{"login":"samwoods1","id":4604901,"avatar_url":"https://avatars.githubusercontent.com/u/4604901?v=3","gravatar_id":"","url":"https://api.github.com/users/samwoods1","html_url":"https://github.com/samwoods1","followers_url":"https://api.github.com/users/samwoods1/followers","following_url":"https://api.github.com/users/samwoods1/following{/other_user}","gists_url":"https://api.github.com/users/samwoods1/gists{/gist_id}","starred_url":"https://api.github.com/users/samwoods1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwoods1/subscriptions","organizations_url":"https://api.github.com/users/samwoods1/orgs","repos_url":"https://api.github.com/users/samwoods1/repos","events_url":"https://api.github.com/users/samwoods1/events{/privacy}","received_events_url":"https://api.github.com/users/samwoods1/received_events","type":"User","site_admin":false},"repo":{"id":59509103,"name":"beaker-pe","full_name":"samwoods1/beaker-pe","owner":{"login":"samwoods1","id":4604901,"avatar_url":"https://avatars.githubusercontent.com/u/4604901?v=3","gravatar_id":"","url":"https://api.github.com/users/samwoods1","html_url":"https://github.com/samwoods1","followers_url":"https://api.github.com/users/samwoods1/followers","following_url":"https://api.github.com/users/samwoods1/following{/other_user}","gists_url":"https://api.github.com/users/samwoods1/gists{/gist_id}","starred_url":"https://api.github.com/users/samwoods1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwoods1/subscriptions","organizations_url":"https://api.github.com/users/samwoods1/orgs","repos_url":"https://api.github.com/users/samwoods1/repos","events_url":"https://api.github.com/users/samwoods1/events{/privacy}","received_events_url":"https://api.github.com/users/samwoods1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samwoods1/beaker-pe","description":"Puppet Enterprise (PE) Beaker Library","fork":true,"url":"https://api.github.com/repos/samwoods1/beaker-pe","forks_url":"https://api.github.com/repos/samwoods1/beaker-pe/forks","keys_url":"https://api.github.com/repos/samwoods1/beaker-pe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samwoods1/beaker-pe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samwoods1/beaker-pe/teams","hooks_url":"https://api.github.com/repos/samwoods1/beaker-pe/hooks","issue_events_url":"https://api.github.com/repos/samwoods1/beaker-pe/issues/events{/number}","events_url":"https://api.github.com/repos/samwoods1/beaker-pe/events","assignees_url":"https://api.github.com/repos/samwoods1/beaker-pe/assignees{/user}","branches_url":"https://api.github.com/repos/samwoods1/beaker-pe/branches{/branch}","tags_url":"https://api.github.com/repos/samwoods1/beaker-pe/tags","blobs_url":"https://api.github.com/repos/samwoods1/beaker-pe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samwoods1/beaker-pe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samwoods1/beaker-pe/git/refs{/sha}","trees_url":"https://api.github.com/repos/samwoods1/beaker-pe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samwoods1/beaker-pe/statuses/{sha}","languages_url":"https://api.github.com/repos/samwoods1/beaker-pe/languages","stargazers_url":"https://api.github.com/repos/samwoods1/beaker-pe/stargazers","contributors_url":"https://api.github.com/repos/samwoods1/beaker-pe/contributors","subscribers_url":"https://api.github.com/repos/samwoods1/beaker-pe/subscribers","subscription_url":"https://api.github.com/repos/samwoods1/beaker-pe/subscription","commits_url":"https://api.github.com/repos/samwoods1/beaker-pe/commits{/sha}","git_commits_url":"https://api.github.com/repos/samwoods1/beaker-pe/git/commits{/sha}","comments_url":"https://api.github.com/repos/samwoods1/beaker-pe/comments{/number}","issue_comment_url":"https://api.github.com/repos/samwoods1/beaker-pe/issues/comments{/number}","contents_url":"https://api.github.com/repos/samwoods1/beaker-pe/contents/{+path}","compare_url":"https://api.github.com/repos/samwoods1/beaker-pe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samwoods1/beaker-pe/merges","archive_url":"https://api.github.com/repos/samwoods1/beaker-pe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samwoods1/beaker-pe/downloads","issues_url":"https://api.github.com/repos/samwoods1/beaker-pe/issues{/number}","pulls_url":"https://api.github.com/repos/samwoods1/beaker-pe/pulls{/number}","milestones_url":"https://api.github.com/repos/samwoods1/beaker-pe/milestones{/number}","notifications_url":"https://api.github.com/repos/samwoods1/beaker-pe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samwoods1/beaker-pe/labels{/name}","releases_url":"https://api.github.com/repos/samwoods1/beaker-pe/releases{/id}","deployments_url":"https://api.github.com/repos/samwoods1/beaker-pe/deployments","created_at":"2016-05-23T18:40:19Z","updated_at":"2016-05-23T18:40:20Z","pushed_at":"2016-12-16T19:00:43Z","git_url":"git://github.com/samwoods1/beaker-pe.git","ssh_url":"git@github.com:samwoods1/beaker-pe.git","clone_url":"https://github.com/samwoods1/beaker-pe.git","svn_url":"https://github.com/samwoods1/beaker-pe","homepage":null,"size":198,"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":"puppetlabs:master","ref":"master","sha":"e185d0da67b6f7d3e8adf5dbb699c06991c08513","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":52818294,"name":"beaker-pe","full_name":"puppetlabs/beaker-pe","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-pe","description":"Puppet Enterprise (PE) Beaker Library","fork":false,"url":"https://api.github.com/repos/puppetlabs/beaker-pe","forks_url":"https://api.github.com/repos/puppetlabs/beaker-pe/forks","keys_url":"https://api.github.com/repos/puppetlabs/beaker-pe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/beaker-pe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/beaker-pe/teams","hooks_url":"https://api.github.com/repos/puppetlabs/beaker-pe/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/beaker-pe/events","assignees_url":"https://api.github.com/repos/puppetlabs/beaker-pe/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/beaker-pe/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/beaker-pe/tags","blobs_url":"https://api.github.com/repos/puppetlabs/beaker-pe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/beaker-pe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/beaker-pe/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/beaker-pe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/beaker-pe/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/beaker-pe/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/beaker-pe/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/beaker-pe/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/beaker-pe/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/beaker-pe/subscription","commits_url":"https://api.github.com/repos/puppetlabs/beaker-pe/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/beaker-pe/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/beaker-pe/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/beaker-pe/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/beaker-pe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/beaker-pe/merges","archive_url":"https://api.github.com/repos/puppetlabs/beaker-pe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/beaker-pe/downloads","issues_url":"https://api.github.com/repos/puppetlabs/beaker-pe/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/beaker-pe/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/beaker-pe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/beaker-pe/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/beaker-pe/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/beaker-pe/deployments","created_at":"2016-02-29T19:37:28Z","updated_at":"2016-11-07T18:18:21Z","pushed_at":"2016-12-16T19:00:58Z","git_url":"git://github.com/puppetlabs/beaker-pe.git","ssh_url":"git@github.com:puppetlabs/beaker-pe.git","clone_url":"https://github.com/puppetlabs/beaker-pe.git","svn_url":"https://github.com/puppetlabs/beaker-pe","homepage":null,"size":232,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":8,"forks":19,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43"},"html":{"href":"https://github.com/puppetlabs/beaker-pe/pull/43"},"issue":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/43"},"comments":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/beaker-pe/statuses/b35cdf857178bb2a6006637daeb6a55091b0af57"}}}}
{"actor":{"display_login":"samwoods1"}}