{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9","id":43017161,"html_url":"https://github.com/purplehazech/puppet-syslogng/pull/9","diff_url":"https://github.com/purplehazech/puppet-syslogng/pull/9.diff","patch_url":"https://github.com/purplehazech/puppet-syslogng/pull/9.patch","issue_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/9","number":9,"state":"closed","locked":false,"title":"50% done - network sources (listeners)","user":{"login":"omarqureshi","id":35229,"avatar_url":"https://avatars.githubusercontent.com/u/35229?v=3","gravatar_id":"","url":"https://api.github.com/users/omarqureshi","html_url":"https://github.com/omarqureshi","followers_url":"https://api.github.com/users/omarqureshi/followers","following_url":"https://api.github.com/users/omarqureshi/following{/other_user}","gists_url":"https://api.github.com/users/omarqureshi/gists{/gist_id}","starred_url":"https://api.github.com/users/omarqureshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarqureshi/subscriptions","organizations_url":"https://api.github.com/users/omarqureshi/orgs","repos_url":"https://api.github.com/users/omarqureshi/repos","events_url":"https://api.github.com/users/omarqureshi/events{/privacy}","received_events_url":"https://api.github.com/users/omarqureshi/received_events","type":"User","site_admin":false},"body":"Add the ability to specify network sources as part of the\r\ninitialization script. A network source has the following API:\r\n\r\n```\r\n  class { 'syslogng':\r\n    logpaths => {\r\n      'puppet-agent' => {}\r\n    },\r\n    purge_conf_dir => true,\r\n    network_sources => {\r\n      'net' => {\r\n        source_ip => '0.0.0.0',\r\n        tcp_port => 1000,\r\n        udp_port => 1000,\r\n        tcp_max_connections => 500,\r\n      }\r\n    }\r\n  }\r\n```\r\n\r\nAnd generates the following output in\r\n/etc/syslog-ng/syslog-ng.conf.d/source.d/net.conf\r\n\r\n```\r\n  source s_net {\r\n    tcp(ip(0.0.0.0) port(1000) max_connections(500));\r\n    udp(ip(0.0.0.0) port(1000));\r\n  };\r\n```\r\n\r\nCurrently does not handle TLS enabled listeners","created_at":"2015-08-21T09:01:06Z","updated_at":"2015-08-21T09:03:29Z","closed_at":"2015-08-21T09:03:29Z","merged_at":null,"merge_commit_sha":"56e9c7fc9d1eea356ad7527b36cfd4f95f8e30df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9/commits","review_comments_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9/comments","review_comment_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/9/comments","statuses_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/statuses/1241fc25492209dfe3b1c336ed42437e0396e328","head":{"label":"talis:better_source_configs","ref":"better_source_configs","sha":"1241fc25492209dfe3b1c336ed42437e0396e328","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":41101150,"name":"puppet-syslogng","full_name":"talis/puppet-syslogng","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/puppet-syslogng","description":"Puppet module for managing syslog-ng.","fork":true,"url":"https://api.github.com/repos/talis/puppet-syslogng","forks_url":"https://api.github.com/repos/talis/puppet-syslogng/forks","keys_url":"https://api.github.com/repos/talis/puppet-syslogng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/puppet-syslogng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/puppet-syslogng/teams","hooks_url":"https://api.github.com/repos/talis/puppet-syslogng/hooks","issue_events_url":"https://api.github.com/repos/talis/puppet-syslogng/issues/events{/number}","events_url":"https://api.github.com/repos/talis/puppet-syslogng/events","assignees_url":"https://api.github.com/repos/talis/puppet-syslogng/assignees{/user}","branches_url":"https://api.github.com/repos/talis/puppet-syslogng/branches{/branch}","tags_url":"https://api.github.com/repos/talis/puppet-syslogng/tags","blobs_url":"https://api.github.com/repos/talis/puppet-syslogng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/puppet-syslogng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/puppet-syslogng/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/puppet-syslogng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/puppet-syslogng/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/puppet-syslogng/languages","stargazers_url":"https://api.github.com/repos/talis/puppet-syslogng/stargazers","contributors_url":"https://api.github.com/repos/talis/puppet-syslogng/contributors","subscribers_url":"https://api.github.com/repos/talis/puppet-syslogng/subscribers","subscription_url":"https://api.github.com/repos/talis/puppet-syslogng/subscription","commits_url":"https://api.github.com/repos/talis/puppet-syslogng/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/puppet-syslogng/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/puppet-syslogng/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/puppet-syslogng/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/puppet-syslogng/contents/{+path}","compare_url":"https://api.github.com/repos/talis/puppet-syslogng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/puppet-syslogng/merges","archive_url":"https://api.github.com/repos/talis/puppet-syslogng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/puppet-syslogng/downloads","issues_url":"https://api.github.com/repos/talis/puppet-syslogng/issues{/number}","pulls_url":"https://api.github.com/repos/talis/puppet-syslogng/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/puppet-syslogng/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/puppet-syslogng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/puppet-syslogng/labels{/name}","releases_url":"https://api.github.com/repos/talis/puppet-syslogng/releases{/id}","created_at":"2015-08-20T14:44:15Z","updated_at":"2015-08-20T14:44:15Z","pushed_at":"2015-08-21T09:03:16Z","git_url":"git://github.com/talis/puppet-syslogng.git","ssh_url":"git@github.com:talis/puppet-syslogng.git","clone_url":"https://github.com/talis/puppet-syslogng.git","svn_url":"https://github.com/talis/puppet-syslogng","homepage":"http://forge.puppetlabs.com/purplehazech/syslogng","size":641,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"purplehazech:master","ref":"master","sha":"a39723fda0b61e2b5f3bc0b770ed5745019e08e0","user":{"login":"purplehazech","id":1056663,"avatar_url":"https://avatars.githubusercontent.com/u/1056663?v=3","gravatar_id":"","url":"https://api.github.com/users/purplehazech","html_url":"https://github.com/purplehazech","followers_url":"https://api.github.com/users/purplehazech/followers","following_url":"https://api.github.com/users/purplehazech/following{/other_user}","gists_url":"https://api.github.com/users/purplehazech/gists{/gist_id}","starred_url":"https://api.github.com/users/purplehazech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purplehazech/subscriptions","organizations_url":"https://api.github.com/users/purplehazech/orgs","repos_url":"https://api.github.com/users/purplehazech/repos","events_url":"https://api.github.com/users/purplehazech/events{/privacy}","received_events_url":"https://api.github.com/users/purplehazech/received_events","type":"Organization","site_admin":false},"repo":{"id":10016162,"name":"puppet-syslogng","full_name":"purplehazech/puppet-syslogng","owner":{"login":"purplehazech","id":1056663,"avatar_url":"https://avatars.githubusercontent.com/u/1056663?v=3","gravatar_id":"","url":"https://api.github.com/users/purplehazech","html_url":"https://github.com/purplehazech","followers_url":"https://api.github.com/users/purplehazech/followers","following_url":"https://api.github.com/users/purplehazech/following{/other_user}","gists_url":"https://api.github.com/users/purplehazech/gists{/gist_id}","starred_url":"https://api.github.com/users/purplehazech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purplehazech/subscriptions","organizations_url":"https://api.github.com/users/purplehazech/orgs","repos_url":"https://api.github.com/users/purplehazech/repos","events_url":"https://api.github.com/users/purplehazech/events{/privacy}","received_events_url":"https://api.github.com/users/purplehazech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/purplehazech/puppet-syslogng","description":"Puppet module for managing syslog-ng.","fork":false,"url":"https://api.github.com/repos/purplehazech/puppet-syslogng","forks_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/forks","keys_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/teams","hooks_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/hooks","issue_events_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/events{/number}","events_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/events","assignees_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/assignees{/user}","branches_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/branches{/branch}","tags_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/tags","blobs_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/git/refs{/sha}","trees_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/statuses/{sha}","languages_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/languages","stargazers_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/stargazers","contributors_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/contributors","subscribers_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/subscribers","subscription_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/subscription","commits_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/commits{/sha}","git_commits_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/git/commits{/sha}","comments_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/comments{/number}","issue_comment_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/comments{/number}","contents_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/contents/{+path}","compare_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/merges","archive_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/downloads","issues_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues{/number}","pulls_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls{/number}","milestones_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/milestones{/number}","notifications_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/labels{/name}","releases_url":"https://api.github.com/repos/purplehazech/puppet-syslogng/releases{/id}","created_at":"2013-05-12T16:25:04Z","updated_at":"2015-01-02T07:45:55Z","pushed_at":"2015-08-21T09:01:06Z","git_url":"git://github.com/purplehazech/puppet-syslogng.git","ssh_url":"git@github.com:purplehazech/puppet-syslogng.git","clone_url":"https://github.com/purplehazech/puppet-syslogng.git","svn_url":"https://github.com/purplehazech/puppet-syslogng","homepage":"http://forge.puppetlabs.com/purplehazech/syslogng","size":641,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9"},"html":{"href":"https://github.com/purplehazech/puppet-syslogng/pull/9"},"issue":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/9"},"comments":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/purplehazech/puppet-syslogng/statuses/1241fc25492209dfe3b1c336ed42437e0396e328"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":0,"changed_files":4}}