{"action":"created","comment":{"url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/comments/254759527","pull_request_review_id":201167569,"id":254759527,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NDc1OTUyNw==","diff_hunk":"@@ -42,6 +48,21 @@\n \n   $enabled_num = bool2num(str2bool(\"${enabled}\")) # lint:ignore:only_variable_string\n \n+  if $::osfamily == 'Debian' {","path":"manifests/repo.pp","position":26,"original_position":26,"commit_id":"df6fbc2f13672dc1eabfdbfd2d21d8687960b22d","original_commit_id":"df6fbc2f13672dc1eabfdbfd2d21d8687960b22d","user":{"login":"Phil-Friderici","id":5038125,"node_id":"MDQ6VXNlcjUwMzgxMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5038125?v=4","gravatar_id":"","url":"https://api.github.com/users/Phil-Friderici","html_url":"https://github.com/Phil-Friderici","followers_url":"https://api.github.com/users/Phil-Friderici/followers","following_url":"https://api.github.com/users/Phil-Friderici/following{/other_user}","gists_url":"https://api.github.com/users/Phil-Friderici/gists{/gist_id}","starred_url":"https://api.github.com/users/Phil-Friderici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phil-Friderici/subscriptions","organizations_url":"https://api.github.com/users/Phil-Friderici/orgs","repos_url":"https://api.github.com/users/Phil-Friderici/repos","events_url":"https://api.github.com/users/Phil-Friderici/events{/privacy}","received_events_url":"https://api.github.com/users/Phil-Friderici/received_events","type":"User","site_admin":false},"body":"What about moving this apt specific section into the apt case below in the functionality section ? That will reduce the needed code to line 52 to 56 only :)","created_at":"2019-02-07T16:26:29Z","updated_at":"2019-02-07T16:45:04Z","html_url":"https://github.com/kodguru/puppet-module-swrepo/pull/15#discussion_r254759527","pull_request_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/comments/254759527"},"html":{"href":"https://github.com/kodguru/puppet-module-swrepo/pull/15#discussion_r254759527"},"pull_request":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15","id":247266011,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQ3MjY2MDEx","html_url":"https://github.com/kodguru/puppet-module-swrepo/pull/15","diff_url":"https://github.com/kodguru/puppet-module-swrepo/pull/15.diff","patch_url":"https://github.com/kodguru/puppet-module-swrepo/pull/15.patch","issue_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/15","number":15,"state":"open","locked":false,"title":"Add purge and ubuntu support","user":{"login":"qhenhan","id":39587940,"node_id":"MDQ6VXNlcjM5NTg3OTQw","avatar_url":"https://avatars1.githubusercontent.com/u/39587940?v=4","gravatar_id":"","url":"https://api.github.com/users/qhenhan","html_url":"https://github.com/qhenhan","followers_url":"https://api.github.com/users/qhenhan/followers","following_url":"https://api.github.com/users/qhenhan/following{/other_user}","gists_url":"https://api.github.com/users/qhenhan/gists{/gist_id}","starred_url":"https://api.github.com/users/qhenhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhenhan/subscriptions","organizations_url":"https://api.github.com/users/qhenhan/orgs","repos_url":"https://api.github.com/users/qhenhan/repos","events_url":"https://api.github.com/users/qhenhan/events{/privacy}","received_events_url":"https://api.github.com/users/qhenhan/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-01-24T09:59:27Z","updated_at":"2019-02-07T16:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40dd709966d73a398fe236607b5c035e10b37da3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15/commits","review_comments_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15/comments","review_comment_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/15/comments","statuses_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/statuses/df6fbc2f13672dc1eabfdbfd2d21d8687960b22d","head":{"label":"qhenhan:add_purge_and_ubuntu_support","ref":"add_purge_and_ubuntu_support","sha":"df6fbc2f13672dc1eabfdbfd2d21d8687960b22d","user":{"login":"qhenhan","id":39587940,"node_id":"MDQ6VXNlcjM5NTg3OTQw","avatar_url":"https://avatars1.githubusercontent.com/u/39587940?v=4","gravatar_id":"","url":"https://api.github.com/users/qhenhan","html_url":"https://github.com/qhenhan","followers_url":"https://api.github.com/users/qhenhan/followers","following_url":"https://api.github.com/users/qhenhan/following{/other_user}","gists_url":"https://api.github.com/users/qhenhan/gists{/gist_id}","starred_url":"https://api.github.com/users/qhenhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhenhan/subscriptions","organizations_url":"https://api.github.com/users/qhenhan/orgs","repos_url":"https://api.github.com/users/qhenhan/repos","events_url":"https://api.github.com/users/qhenhan/events{/privacy}","received_events_url":"https://api.github.com/users/qhenhan/received_events","type":"User","site_admin":false},"repo":{"id":162596506,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI1OTY1MDY=","name":"puppet-module-swrepo","full_name":"qhenhan/puppet-module-swrepo","private":false,"owner":{"login":"qhenhan","id":39587940,"node_id":"MDQ6VXNlcjM5NTg3OTQw","avatar_url":"https://avatars1.githubusercontent.com/u/39587940?v=4","gravatar_id":"","url":"https://api.github.com/users/qhenhan","html_url":"https://github.com/qhenhan","followers_url":"https://api.github.com/users/qhenhan/followers","following_url":"https://api.github.com/users/qhenhan/following{/other_user}","gists_url":"https://api.github.com/users/qhenhan/gists{/gist_id}","starred_url":"https://api.github.com/users/qhenhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhenhan/subscriptions","organizations_url":"https://api.github.com/users/qhenhan/orgs","repos_url":"https://api.github.com/users/qhenhan/repos","events_url":"https://api.github.com/users/qhenhan/events{/privacy}","received_events_url":"https://api.github.com/users/qhenhan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/qhenhan/puppet-module-swrepo","description":"Puppet module to manage software package repositories","fork":true,"url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo","forks_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/forks","keys_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/teams","hooks_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/hooks","issue_events_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/issues/events{/number}","events_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/events","assignees_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/assignees{/user}","branches_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/branches{/branch}","tags_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/tags","blobs_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/statuses/{sha}","languages_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/languages","stargazers_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/stargazers","contributors_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/contributors","subscribers_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/subscribers","subscription_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/subscription","commits_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/contents/{+path}","compare_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/merges","archive_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/downloads","issues_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/issues{/number}","pulls_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/pulls{/number}","milestones_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/milestones{/number}","notifications_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/labels{/name}","releases_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/releases{/id}","deployments_url":"https://api.github.com/repos/qhenhan/puppet-module-swrepo/deployments","created_at":"2018-12-20T15:19:11Z","updated_at":"2018-12-20T15:19:13Z","pushed_at":"2019-02-05T09:52:07Z","git_url":"git://github.com/qhenhan/puppet-module-swrepo.git","ssh_url":"git@github.com:qhenhan/puppet-module-swrepo.git","clone_url":"https://github.com/qhenhan/puppet-module-swrepo.git","svn_url":"https://github.com/qhenhan/puppet-module-swrepo","homepage":"","size":65,"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":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kodguru:master","ref":"master","sha":"942862b1373c31e18192a81b59c092d83390339b","user":{"login":"kodguru","id":38109935,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTA5OTM1","avatar_url":"https://avatars1.githubusercontent.com/u/38109935?v=4","gravatar_id":"","url":"https://api.github.com/users/kodguru","html_url":"https://github.com/kodguru","followers_url":"https://api.github.com/users/kodguru/followers","following_url":"https://api.github.com/users/kodguru/following{/other_user}","gists_url":"https://api.github.com/users/kodguru/gists{/gist_id}","starred_url":"https://api.github.com/users/kodguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodguru/subscriptions","organizations_url":"https://api.github.com/users/kodguru/orgs","repos_url":"https://api.github.com/users/kodguru/repos","events_url":"https://api.github.com/users/kodguru/events{/privacy}","received_events_url":"https://api.github.com/users/kodguru/received_events","type":"Organization","site_admin":false},"repo":{"id":23917150,"node_id":"MDEwOlJlcG9zaXRvcnkyMzkxNzE1MA==","name":"puppet-module-swrepo","full_name":"kodguru/puppet-module-swrepo","private":false,"owner":{"login":"kodguru","id":38109935,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTA5OTM1","avatar_url":"https://avatars1.githubusercontent.com/u/38109935?v=4","gravatar_id":"","url":"https://api.github.com/users/kodguru","html_url":"https://github.com/kodguru","followers_url":"https://api.github.com/users/kodguru/followers","following_url":"https://api.github.com/users/kodguru/following{/other_user}","gists_url":"https://api.github.com/users/kodguru/gists{/gist_id}","starred_url":"https://api.github.com/users/kodguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodguru/subscriptions","organizations_url":"https://api.github.com/users/kodguru/orgs","repos_url":"https://api.github.com/users/kodguru/repos","events_url":"https://api.github.com/users/kodguru/events{/privacy}","received_events_url":"https://api.github.com/users/kodguru/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kodguru/puppet-module-swrepo","description":"Puppet module to manage software package repositories","fork":false,"url":"https://api.github.com/repos/kodguru/puppet-module-swrepo","forks_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/forks","keys_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/teams","hooks_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/hooks","issue_events_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/events{/number}","events_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/events","assignees_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/assignees{/user}","branches_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/branches{/branch}","tags_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/tags","blobs_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/statuses/{sha}","languages_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/languages","stargazers_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/stargazers","contributors_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/contributors","subscribers_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/subscribers","subscription_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/subscription","commits_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/contents/{+path}","compare_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/merges","archive_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/downloads","issues_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues{/number}","pulls_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls{/number}","milestones_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/milestones{/number}","notifications_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/labels{/name}","releases_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/releases{/id}","deployments_url":"https://api.github.com/repos/kodguru/puppet-module-swrepo/deployments","created_at":"2014-09-11T12:24:44Z","updated_at":"2019-01-18T12:00:32Z","pushed_at":"2019-01-24T09:59:28Z","git_url":"git://github.com/kodguru/puppet-module-swrepo.git","ssh_url":"git@github.com:kodguru/puppet-module-swrepo.git","clone_url":"https://github.com/kodguru/puppet-module-swrepo.git","svn_url":"https://github.com/kodguru/puppet-module-swrepo","homepage":"","size":52,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15"},"html":{"href":"https://github.com/kodguru/puppet-module-swrepo/pull/15"},"issue":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/15"},"comments":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/kodguru/puppet-module-swrepo/statuses/df6fbc2f13672dc1eabfdbfd2d21d8687960b22d"}},"author_association":"NONE"}}
{"actor":{"display_login":"Phil-Friderici"}}