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

Side by Side Diff: modules/adblockplus/manifests/log/processor.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
OLDNEW
(Empty)
1 # == Class: adblockplus::log::processor
2 #
3 # A mixin class that defines a set of additional Hiera keys for Fluentd,
4 # each of which is examined using function hiera_hash(). This allows for
5 # fine-tuning the setup via YAML, but will only be supported as long as
6 # Fluentd is actually the sofware behind adblockplus::log resources. This
7 # is unlikely to change though, or at least there are no such plans yet.
8 #
9 # === Hiera:
10 #
11 # [*fluent::configs*]
12 # A hash of zero or more $title => $parameters items for the definition
13 # of fluentd::config resources via YAML.
14 #
15 # [*fluent::gems*]
16 # A hash of zero or more $title => $parameters items for the definition
17 # of fluent_gem resources via YAML.
18 #
19 # [*fluent::plugins*]
20 # A hash of zero or more $title => $parameters items for the definition
21 # of fluent::plugin resources via YAML.
22 #
23 # === Examples:
24 #
25 # # Does not imply inclusion of any other adblockplus::* manifest
26 # include adblockplus::log::processor
27 #
28 class adblockplus::log::processor {
29
30 $fluent_configs = hiera_hash('fluent::configs', {})
31 create_resources('fluent::config', $fluent_configs)
32
33 $fluent_gems = hiera_hash('fluent::gems', {})
34 create_resources('fluent::gem', $fluent_gems)
35
36 $fluent_plugins = hiera_hash('fluent::plugins', {})
37 create_resources('fluent::plugin', $fluent_plugins)
38 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/log/master.pp ('k') | modules/adblockplus/manifests/log/rotation.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld