Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/manifests/log/forwarder.pp

Issue 29341151: Issue 4019 - Added "Edge" to platform choices in Issues tracker at issues1. (Closed)
Patch Set: Created May 10, 2016, 3:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/adblockplus/manifests/log.pp ('k') | modules/adblockplus/manifests/log/master.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # == Class: adblockplus::log::forwarder
2 #
3 # Additional configuration for forwarding log file information processed with
4 # Fluentd and utilized by i.e. adblockplus::log::tracker instances.
5 #
6 # === Parameters:
7 #
8 # [*ensure*]
9 # Whether the forwarder setup should be 'present' or 'absent', defaults
10 # to $adblockplus::log::ensure.
11 #
12 # [*host*]
13 # The hostname of the adblockplus::log::master in this environment.
14 #
15 # [*port*]
16 # The port number for log event packages (TCP) and heartbeat messages (UDP).
17 #
18 # === Example:
19 #
20 # class {'adblockplus::log::forwarder':
21 # host => 'logmaster.localdomain',
22 # port => 24224,
23 # }
24 #
25 class adblockplus::log::forwarder (
26 $ensure = $adblockplus::log::ensure,
27 $host = "log1.$adblockplus::authority",
28 $port = 24224,
29 ) {
30
31 include adblockplus::log
32 include stdlib
33
34 # See modules/fluent/manifests/config.pp
35 fluent::config {$title:
36 content => template('adblockplus/log/fluentd/forwarder.conf.erb'),
37 ensure => pick($ensure, $adblockplus::log::ensure),
38 name => '80-adblockplus-log-forwarder',
39 }
40 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/log.pp ('k') | modules/adblockplus/manifests/log/master.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld