{"action":"opened","number":162,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162","id":182033843,"html_url":"https://github.com/puppetlabs/puppetlabs-reboot/pull/162","diff_url":"https://github.com/puppetlabs/puppetlabs-reboot/pull/162.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-reboot/pull/162.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/162","number":162,"state":"open","locked":false,"title":"(MODULES-6745) Add testmode to tests","user":{"login":"glennsarti","id":5819622,"avatar_url":"https://avatars0.githubusercontent.com/u/5819622?v=4","gravatar_id":"","url":"https://api.github.com/users/glennsarti","html_url":"https://github.com/glennsarti","followers_url":"https://api.github.com/users/glennsarti/followers","following_url":"https://api.github.com/users/glennsarti/following{/other_user}","gists_url":"https://api.github.com/users/glennsarti/gists{/gist_id}","starred_url":"https://api.github.com/users/glennsarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennsarti/subscriptions","organizations_url":"https://api.github.com/users/glennsarti/orgs","repos_url":"https://api.github.com/users/glennsarti/repos","events_url":"https://api.github.com/users/glennsarti/events{/privacy}","received_events_url":"https://api.github.com/users/glennsarti/received_events","type":"User","site_admin":false},"body":"This commit adds the necessary entries to the acceptance setup in order\r\nfor testmode switcher to work\r\n\r\nThis commit updates all host execution methods to execute_manifest_on methods.\r\nWhere applicable, it changes explicit exitcode calls to catch_failures or\r\ncatch_changes.","created_at":"2018-04-17T02:14:50Z","updated_at":"2018-04-17T02:14:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/162/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/statuses/d4159968f2e40d9d1e5230a5135df90261d97c8d","head":{"label":"glennsarti:modules-6745-add-testmode-switcher","ref":"modules-6745-add-testmode-switcher","sha":"d4159968f2e40d9d1e5230a5135df90261d97c8d","user":{"login":"glennsarti","id":5819622,"avatar_url":"https://avatars0.githubusercontent.com/u/5819622?v=4","gravatar_id":"","url":"https://api.github.com/users/glennsarti","html_url":"https://github.com/glennsarti","followers_url":"https://api.github.com/users/glennsarti/followers","following_url":"https://api.github.com/users/glennsarti/following{/other_user}","gists_url":"https://api.github.com/users/glennsarti/gists{/gist_id}","starred_url":"https://api.github.com/users/glennsarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennsarti/subscriptions","organizations_url":"https://api.github.com/users/glennsarti/orgs","repos_url":"https://api.github.com/users/glennsarti/repos","events_url":"https://api.github.com/users/glennsarti/events{/privacy}","received_events_url":"https://api.github.com/users/glennsarti/received_events","type":"User","site_admin":false},"repo":{"id":57316523,"name":"puppetlabs-reboot","full_name":"glennsarti/puppetlabs-reboot","owner":{"login":"glennsarti","id":5819622,"avatar_url":"https://avatars0.githubusercontent.com/u/5819622?v=4","gravatar_id":"","url":"https://api.github.com/users/glennsarti","html_url":"https://github.com/glennsarti","followers_url":"https://api.github.com/users/glennsarti/followers","following_url":"https://api.github.com/users/glennsarti/following{/other_user}","gists_url":"https://api.github.com/users/glennsarti/gists{/gist_id}","starred_url":"https://api.github.com/users/glennsarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennsarti/subscriptions","organizations_url":"https://api.github.com/users/glennsarti/orgs","repos_url":"https://api.github.com/users/glennsarti/repos","events_url":"https://api.github.com/users/glennsarti/events{/privacy}","received_events_url":"https://api.github.com/users/glennsarti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glennsarti/puppetlabs-reboot","description":"Reboot type and provider","fork":true,"url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot","forks_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/forks","keys_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/teams","hooks_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/hooks","issue_events_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/issues/events{/number}","events_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/events","assignees_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/assignees{/user}","branches_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/branches{/branch}","tags_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/tags","blobs_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/git/refs{/sha}","trees_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/statuses/{sha}","languages_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/languages","stargazers_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/stargazers","contributors_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/contributors","subscribers_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/subscribers","subscription_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/subscription","commits_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/commits{/sha}","git_commits_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/git/commits{/sha}","comments_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/comments{/number}","issue_comment_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/issues/comments{/number}","contents_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/contents/{+path}","compare_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/merges","archive_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/downloads","issues_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/issues{/number}","pulls_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/pulls{/number}","milestones_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/milestones{/number}","notifications_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/labels{/name}","releases_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/releases{/id}","deployments_url":"https://api.github.com/repos/glennsarti/puppetlabs-reboot/deployments","created_at":"2016-04-28T16:16:39Z","updated_at":"2018-04-17T00:15:38Z","pushed_at":"2018-04-17T02:14:03Z","git_url":"git://github.com/glennsarti/puppetlabs-reboot.git","ssh_url":"git@github.com:glennsarti/puppetlabs-reboot.git","clone_url":"https://github.com/glennsarti/puppetlabs-reboot.git","svn_url":"https://github.com/glennsarti/puppetlabs-reboot","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"418df3c6fb76f58eea5053b3fd2dae7b46fec9b8","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","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":8871577,"name":"puppetlabs-reboot","full_name":"puppetlabs/puppetlabs-reboot","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","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/puppetlabs-reboot","description":"Reboot type and provider","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/deployments","created_at":"2013-03-19T05:35:15Z","updated_at":"2018-03-20T13:08:32Z","pushed_at":"2018-03-20T13:08:31Z","git_url":"git://github.com/puppetlabs/puppetlabs-reboot.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-reboot.git","clone_url":"https://github.com/puppetlabs/puppetlabs-reboot.git","svn_url":"https://github.com/puppetlabs/puppetlabs-reboot","homepage":null,"size":345,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":55,"open_issues":4,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-reboot/pull/162"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/162"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-reboot/statuses/d4159968f2e40d9d1e5230a5135df90261d97c8d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":36,"deletions":28,"changed_files":11}}
{"actor":{"display_login":"glennsarti"}}