{"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/comments/39656186","id":39656186,"diff_hunk":"@@ -2,16 +2,23 @@\n #\n # Sensu handler for communicating with Pagerduty\n #\n-class sensu_handlers::pagerduty inherits sensu_handlers {\n+class sensu_handlers::pagerduty (\n+  $pagerduty_package       = 'redphone',\n+  $pagerduty_package_opts  = { 'provider' => 'gem' }","path":"manifests/pagerduty.pp","position":7,"original_position":7,"commit_id":"f9b657cdd905c581f6b6244e62937086bb599414","original_commit_id":"f9b657cdd905c581f6b6244e62937086bb599414","user":{"login":"solarkennedy","id":370205,"avatar_url":"https://avatars.githubusercontent.com/u/370205?v=3","gravatar_id":"","url":"https://api.github.com/users/solarkennedy","html_url":"https://github.com/solarkennedy","followers_url":"https://api.github.com/users/solarkennedy/followers","following_url":"https://api.github.com/users/solarkennedy/following{/other_user}","gists_url":"https://api.github.com/users/solarkennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/solarkennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solarkennedy/subscriptions","organizations_url":"https://api.github.com/users/solarkennedy/orgs","repos_url":"https://api.github.com/users/solarkennedy/repos","events_url":"https://api.github.com/users/solarkennedy/events{/privacy}","received_events_url":"https://api.github.com/users/solarkennedy/received_events","type":"User","site_admin":false},"body":"How about defaulting to sensu_gem?\r\n\r\nI guess that would mean that we would have to change the #! on the handler at the same time?\r\n\r\nTo prepare for this at yelp we can install both I guess and then make the cutover","created_at":"2015-09-16T17:01:55Z","updated_at":"2015-09-16T17:01:55Z","html_url":"https://github.com/Yelp/sensu_handlers/pull/60#discussion_r39656186","pull_request_url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/comments/39656186"},"html":{"href":"https://github.com/Yelp/sensu_handlers/pull/60#discussion_r39656186"},"pull_request":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60","id":45076961,"html_url":"https://github.com/Yelp/sensu_handlers/pull/60","diff_url":"https://github.com/Yelp/sensu_handlers/pull/60.diff","patch_url":"https://github.com/Yelp/sensu_handlers/pull/60.patch","issue_url":"https://api.github.com/repos/Yelp/sensu_handlers/issues/60","number":60,"state":"open","locked":false,"title":"pagerduty flexibly manage redphone dependency","user":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"body":"unless you've packaged it yourself there's no rubygems-redphone debian\npackage around.\n\nmake it possible for other to meet this dependency some other way.\n\nin the interim default to installing via gem.","created_at":"2015-09-15T17:17:26Z","updated_at":"2015-09-16T17:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b13f92ba386e6310fa6e54cee840a55495520e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60/commits","review_comments_url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60/comments","review_comment_url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/sensu_handlers/issues/60/comments","statuses_url":"https://api.github.com/repos/Yelp/sensu_handlers/statuses/f9b657cdd905c581f6b6244e62937086bb599414","head":{"label":"fessyfoo:redphone-gem-was-yelp-only","ref":"redphone-gem-was-yelp-only","sha":"f9b657cdd905c581f6b6244e62937086bb599414","user":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"repo":{"id":41769234,"name":"sensu_handlers","full_name":"fessyfoo/sensu_handlers","owner":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fessyfoo/sensu_handlers","description":"Custom Sensu Handlers to support a multi-tenant environment, allowing checks themselves to emit the type of handler behavior they need in the event json","fork":true,"url":"https://api.github.com/repos/fessyfoo/sensu_handlers","forks_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/forks","keys_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/teams","hooks_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/hooks","issue_events_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/issues/events{/number}","events_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/events","assignees_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/assignees{/user}","branches_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/branches{/branch}","tags_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/tags","blobs_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/git/refs{/sha}","trees_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/statuses/{sha}","languages_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/languages","stargazers_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/stargazers","contributors_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/contributors","subscribers_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/subscribers","subscription_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/subscription","commits_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/commits{/sha}","git_commits_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/git/commits{/sha}","comments_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/comments{/number}","issue_comment_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/issues/comments{/number}","contents_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/contents/{+path}","compare_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/merges","archive_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/downloads","issues_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/issues{/number}","pulls_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/pulls{/number}","milestones_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/milestones{/number}","notifications_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/labels{/name}","releases_url":"https://api.github.com/repos/fessyfoo/sensu_handlers/releases{/id}","created_at":"2015-09-01T23:48:39Z","updated_at":"2015-09-02T00:01:38Z","pushed_at":"2015-09-15T16:54:19Z","git_url":"git://github.com/fessyfoo/sensu_handlers.git","ssh_url":"git@github.com:fessyfoo/sensu_handlers.git","clone_url":"https://github.com/fessyfoo/sensu_handlers.git","svn_url":"https://github.com/fessyfoo/sensu_handlers","homepage":null,"size":309,"stargazers_count":0,"watchers_count":0,"language":null,"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":"Yelp:master","ref":"master","sha":"6fee5ce91cee7f4ba83d6061d9223f373c89ba9b","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":22772241,"name":"sensu_handlers","full_name":"Yelp/sensu_handlers","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/sensu_handlers","description":"Custom Sensu Handlers to support a multi-tenant environment, allowing checks themselves to emit the type of handler behavior they need in the event json","fork":false,"url":"https://api.github.com/repos/Yelp/sensu_handlers","forks_url":"https://api.github.com/repos/Yelp/sensu_handlers/forks","keys_url":"https://api.github.com/repos/Yelp/sensu_handlers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/sensu_handlers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/sensu_handlers/teams","hooks_url":"https://api.github.com/repos/Yelp/sensu_handlers/hooks","issue_events_url":"https://api.github.com/repos/Yelp/sensu_handlers/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/sensu_handlers/events","assignees_url":"https://api.github.com/repos/Yelp/sensu_handlers/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/sensu_handlers/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/sensu_handlers/tags","blobs_url":"https://api.github.com/repos/Yelp/sensu_handlers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/sensu_handlers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/sensu_handlers/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/sensu_handlers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/sensu_handlers/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/sensu_handlers/languages","stargazers_url":"https://api.github.com/repos/Yelp/sensu_handlers/stargazers","contributors_url":"https://api.github.com/repos/Yelp/sensu_handlers/contributors","subscribers_url":"https://api.github.com/repos/Yelp/sensu_handlers/subscribers","subscription_url":"https://api.github.com/repos/Yelp/sensu_handlers/subscription","commits_url":"https://api.github.com/repos/Yelp/sensu_handlers/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/sensu_handlers/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/sensu_handlers/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/sensu_handlers/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/sensu_handlers/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/sensu_handlers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/sensu_handlers/merges","archive_url":"https://api.github.com/repos/Yelp/sensu_handlers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/sensu_handlers/downloads","issues_url":"https://api.github.com/repos/Yelp/sensu_handlers/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/sensu_handlers/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/sensu_handlers/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/sensu_handlers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/sensu_handlers/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/sensu_handlers/releases{/id}","created_at":"2014-08-08T21:35:51Z","updated_at":"2015-09-14T17:20:00Z","pushed_at":"2015-09-16T16:59:55Z","git_url":"git://github.com/Yelp/sensu_handlers.git","ssh_url":"git@github.com:Yelp/sensu_handlers.git","clone_url":"https://github.com/Yelp/sensu_handlers.git","svn_url":"https://github.com/Yelp/sensu_handlers","homepage":null,"size":734,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":13,"forks":17,"open_issues":13,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60"},"html":{"href":"https://github.com/Yelp/sensu_handlers/pull/60"},"issue":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/issues/60"},"comments":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/sensu_handlers/statuses/f9b657cdd905c581f6b6244e62937086bb599414"}}}}