{"action":"created","comment":{"url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/comments/235279570","pull_request_review_id":177107356,"id":235279570,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTI3OTU3MA==","diff_hunk":"@@ -0,0 +1,11 @@\n+###","path":"templates/snmptrapd.sysconfig-Debian.erb","position":1,"original_position":1,"commit_id":"5de90e7e0dbf4d5b1ca97244e89355732a3f8afd","original_commit_id":"5de90e7e0dbf4d5b1ca97244e89355732a3f8afd","user":{"login":"amateo","id":3133951,"node_id":"MDQ6VXNlcjMxMzM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3133951?v=4","gravatar_id":"","url":"https://api.github.com/users/amateo","html_url":"https://github.com/amateo","followers_url":"https://api.github.com/users/amateo/followers","following_url":"https://api.github.com/users/amateo/following{/other_user}","gists_url":"https://api.github.com/users/amateo/gists{/gist_id}","starred_url":"https://api.github.com/users/amateo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amateo/subscriptions","organizations_url":"https://api.github.com/users/amateo/orgs","repos_url":"https://api.github.com/users/amateo/repos","events_url":"https://api.github.com/users/amateo/events{/privacy}","received_events_url":"https://api.github.com/users/amateo/received_events","type":"User","site_admin":false},"body":"I wrote it in a erb because the rest of templates are erb. Moreover it is used as:\r\n```puppet\r\nfile { 'snmptrapd.sysconfig':\r\n  ensure  => $file_ensure,\r\n  mode    => '0644',\r\n  owner   => 'root',\r\n  group   => 'root',\r\n  path    => $snmp::params::trap_sysconfig,\r\n  content => template($template_snmptrapd_sysconfig),\r\n  require => Package['snmpd'],\r\n  notify  => Service['snmptrapd'],\r\n}                                      \r\n```\r\nwhere `$template_snmptrapd_sysconfig` is initialized with the corresponding path.\r\n\r\nTo change it for an epp, all templates should be changed.","created_at":"2018-11-21T07:43:30Z","updated_at":"2018-11-21T07:43:30Z","html_url":"https://github.com/voxpupuli/puppet-snmp/pull/168#discussion_r235279570","pull_request_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/comments/235279570"},"html":{"href":"https://github.com/voxpupuli/puppet-snmp/pull/168#discussion_r235279570"},"pull_request":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168"}},"in_reply_to_id":235177743},"pull_request":{"url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168","id":230103950,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMTAzOTUw","html_url":"https://github.com/voxpupuli/puppet-snmp/pull/168","diff_url":"https://github.com/voxpupuli/puppet-snmp/pull/168.diff","patch_url":"https://github.com/voxpupuli/puppet-snmp/pull/168.patch","issue_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/168","number":168,"state":"open","locked":false,"title":"Install snmptrapd on latests ubuntu","user":{"login":"amateo","id":3133951,"node_id":"MDQ6VXNlcjMxMzM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3133951?v=4","gravatar_id":"","url":"https://api.github.com/users/amateo","html_url":"https://github.com/amateo","followers_url":"https://api.github.com/users/amateo/followers","following_url":"https://api.github.com/users/amateo/following{/other_user}","gists_url":"https://api.github.com/users/amateo/gists{/gist_id}","starred_url":"https://api.github.com/users/amateo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amateo/subscriptions","organizations_url":"https://api.github.com/users/amateo/orgs","repos_url":"https://api.github.com/users/amateo/repos","events_url":"https://api.github.com/users/amateo/events{/privacy}","received_events_url":"https://api.github.com/users/amateo/received_events","type":"User","site_admin":false},"body":"Since Ubuntu 16.04 snmptrad is provided by another package (snmptrapd).","created_at":"2018-11-12T11:33:47Z","updated_at":"2018-11-21T07:43:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eabef5ecb7af04f5e487b79866d89e1932fe202d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168/commits","review_comments_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168/comments","review_comment_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/168/comments","statuses_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/statuses/5de90e7e0dbf4d5b1ca97244e89355732a3f8afd","head":{"label":"amateo:snmptrapd","ref":"snmptrapd","sha":"5de90e7e0dbf4d5b1ca97244e89355732a3f8afd","user":{"login":"amateo","id":3133951,"node_id":"MDQ6VXNlcjMxMzM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3133951?v=4","gravatar_id":"","url":"https://api.github.com/users/amateo","html_url":"https://github.com/amateo","followers_url":"https://api.github.com/users/amateo/followers","following_url":"https://api.github.com/users/amateo/following{/other_user}","gists_url":"https://api.github.com/users/amateo/gists{/gist_id}","starred_url":"https://api.github.com/users/amateo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amateo/subscriptions","organizations_url":"https://api.github.com/users/amateo/orgs","repos_url":"https://api.github.com/users/amateo/repos","events_url":"https://api.github.com/users/amateo/events{/privacy}","received_events_url":"https://api.github.com/users/amateo/received_events","type":"User","site_admin":false},"repo":{"id":109975566,"node_id":"MDEwOlJlcG9zaXRvcnkxMDk5NzU1NjY=","name":"puppet-snmp","full_name":"amateo/puppet-snmp","private":false,"owner":{"login":"amateo","id":3133951,"node_id":"MDQ6VXNlcjMxMzM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3133951?v=4","gravatar_id":"","url":"https://api.github.com/users/amateo","html_url":"https://github.com/amateo","followers_url":"https://api.github.com/users/amateo/followers","following_url":"https://api.github.com/users/amateo/following{/other_user}","gists_url":"https://api.github.com/users/amateo/gists{/gist_id}","starred_url":"https://api.github.com/users/amateo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amateo/subscriptions","organizations_url":"https://api.github.com/users/amateo/orgs","repos_url":"https://api.github.com/users/amateo/repos","events_url":"https://api.github.com/users/amateo/events{/privacy}","received_events_url":"https://api.github.com/users/amateo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amateo/puppet-snmp","description":"Puppet module to manage Net-SNMP.","fork":true,"url":"https://api.github.com/repos/amateo/puppet-snmp","forks_url":"https://api.github.com/repos/amateo/puppet-snmp/forks","keys_url":"https://api.github.com/repos/amateo/puppet-snmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amateo/puppet-snmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amateo/puppet-snmp/teams","hooks_url":"https://api.github.com/repos/amateo/puppet-snmp/hooks","issue_events_url":"https://api.github.com/repos/amateo/puppet-snmp/issues/events{/number}","events_url":"https://api.github.com/repos/amateo/puppet-snmp/events","assignees_url":"https://api.github.com/repos/amateo/puppet-snmp/assignees{/user}","branches_url":"https://api.github.com/repos/amateo/puppet-snmp/branches{/branch}","tags_url":"https://api.github.com/repos/amateo/puppet-snmp/tags","blobs_url":"https://api.github.com/repos/amateo/puppet-snmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amateo/puppet-snmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amateo/puppet-snmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/amateo/puppet-snmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amateo/puppet-snmp/statuses/{sha}","languages_url":"https://api.github.com/repos/amateo/puppet-snmp/languages","stargazers_url":"https://api.github.com/repos/amateo/puppet-snmp/stargazers","contributors_url":"https://api.github.com/repos/amateo/puppet-snmp/contributors","subscribers_url":"https://api.github.com/repos/amateo/puppet-snmp/subscribers","subscription_url":"https://api.github.com/repos/amateo/puppet-snmp/subscription","commits_url":"https://api.github.com/repos/amateo/puppet-snmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/amateo/puppet-snmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/amateo/puppet-snmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/amateo/puppet-snmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/amateo/puppet-snmp/contents/{+path}","compare_url":"https://api.github.com/repos/amateo/puppet-snmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amateo/puppet-snmp/merges","archive_url":"https://api.github.com/repos/amateo/puppet-snmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amateo/puppet-snmp/downloads","issues_url":"https://api.github.com/repos/amateo/puppet-snmp/issues{/number}","pulls_url":"https://api.github.com/repos/amateo/puppet-snmp/pulls{/number}","milestones_url":"https://api.github.com/repos/amateo/puppet-snmp/milestones{/number}","notifications_url":"https://api.github.com/repos/amateo/puppet-snmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amateo/puppet-snmp/labels{/name}","releases_url":"https://api.github.com/repos/amateo/puppet-snmp/releases{/id}","deployments_url":"https://api.github.com/repos/amateo/puppet-snmp/deployments","created_at":"2017-11-08T12:52:28Z","updated_at":"2018-11-12T10:43:41Z","pushed_at":"2018-11-20T13:20:51Z","git_url":"git://github.com/amateo/puppet-snmp.git","ssh_url":"git@github.com:amateo/puppet-snmp.git","clone_url":"https://github.com/amateo/puppet-snmp.git","svn_url":"https://github.com/amateo/puppet-snmp","homepage":"http://forge.puppetlabs.com/razorsedge/snmp","size":450,"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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"voxpupuli:master","ref":"master","sha":"bc03aa2b9472f7a8167289d40b4464e7547fcc3d","user":{"login":"voxpupuli","id":8693967,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2OTM5Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/8693967?v=4","gravatar_id":"","url":"https://api.github.com/users/voxpupuli","html_url":"https://github.com/voxpupuli","followers_url":"https://api.github.com/users/voxpupuli/followers","following_url":"https://api.github.com/users/voxpupuli/following{/other_user}","gists_url":"https://api.github.com/users/voxpupuli/gists{/gist_id}","starred_url":"https://api.github.com/users/voxpupuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxpupuli/subscriptions","organizations_url":"https://api.github.com/users/voxpupuli/orgs","repos_url":"https://api.github.com/users/voxpupuli/repos","events_url":"https://api.github.com/users/voxpupuli/events{/privacy}","received_events_url":"https://api.github.com/users/voxpupuli/received_events","type":"Organization","site_admin":false},"repo":{"id":3691169,"node_id":"MDEwOlJlcG9zaXRvcnkzNjkxMTY5","name":"puppet-snmp","full_name":"voxpupuli/puppet-snmp","private":false,"owner":{"login":"voxpupuli","id":8693967,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg2OTM5Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/8693967?v=4","gravatar_id":"","url":"https://api.github.com/users/voxpupuli","html_url":"https://github.com/voxpupuli","followers_url":"https://api.github.com/users/voxpupuli/followers","following_url":"https://api.github.com/users/voxpupuli/following{/other_user}","gists_url":"https://api.github.com/users/voxpupuli/gists{/gist_id}","starred_url":"https://api.github.com/users/voxpupuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxpupuli/subscriptions","organizations_url":"https://api.github.com/users/voxpupuli/orgs","repos_url":"https://api.github.com/users/voxpupuli/repos","events_url":"https://api.github.com/users/voxpupuli/events{/privacy}","received_events_url":"https://api.github.com/users/voxpupuli/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/voxpupuli/puppet-snmp","description":"Puppet module to manage Net-SNMP.","fork":false,"url":"https://api.github.com/repos/voxpupuli/puppet-snmp","forks_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/forks","keys_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/teams","hooks_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/hooks","issue_events_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/events{/number}","events_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/events","assignees_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/assignees{/user}","branches_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/branches{/branch}","tags_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/tags","blobs_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/statuses/{sha}","languages_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/languages","stargazers_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/stargazers","contributors_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/contributors","subscribers_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/subscribers","subscription_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/subscription","commits_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/contents/{+path}","compare_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/merges","archive_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/downloads","issues_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues{/number}","pulls_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls{/number}","milestones_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/milestones{/number}","notifications_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/labels{/name}","releases_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/releases{/id}","deployments_url":"https://api.github.com/repos/voxpupuli/puppet-snmp/deployments","created_at":"2012-03-12T01:39:28Z","updated_at":"2018-11-20T19:28:58Z","pushed_at":"2018-11-20T13:20:53Z","git_url":"git://github.com/voxpupuli/puppet-snmp.git","ssh_url":"git@github.com:voxpupuli/puppet-snmp.git","clone_url":"https://github.com/voxpupuli/puppet-snmp.git","svn_url":"https://github.com/voxpupuli/puppet-snmp","homepage":"https://forge.puppet.com/puppet/snmp","size":448,"stargazers_count":30,"watchers_count":30,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":15,"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":105,"open_issues":15,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168"},"html":{"href":"https://github.com/voxpupuli/puppet-snmp/pull/168"},"issue":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/168"},"comments":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/voxpupuli/puppet-snmp/statuses/5de90e7e0dbf4d5b1ca97244e89355732a3f8afd"}},"author_association":"NONE"}}
{"actor":{"display_login":"amateo"}}