| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 # == Class: adblockplus::log | 1 # == Class: adblockplus::log |
| 2 # | 2 # |
| 3 # Default root namespace for integrating custom logging entities. | 3 # Default root namespace for integrating custom logging entities. |
| 4 # | 4 # |
| 5 # === Parameters: | 5 # === Parameters: |
| 6 # | 6 # |
| 7 # [*ensure*] | 7 # [*ensure*] |
| 8 # Whether associated resources are ment to be 'present' or 'absent'. | 8 # Whether associated resources are ment to be 'present' or 'absent'. |
| 9 # | 9 # |
| 10 # [*name*] | 10 # [*name*] |
| 11 # Used as label to connect adblockplus::log::tracker instances to class | 11 # Used as label to connect adblockplus::log::tracker instances to class |
| 12 # adblockplus::log::forwarder, defaults to 'adblockplus::log'. | 12 # adblockplus::log::forwarder, defaults to 'adblockplus::log'. |
| 13 # | 13 # |
| 14 # [*rotations*] | 14 # [*rotations*] |
| 15 # A hash of adblockplus::log::rotation $name => $parameter items | 15 # A hash of adblockplus::log::rotation $name => $parameter items |
| 16 # to set up in this context, i.e. via Hiera. | 16 # to set up in this context, i.e. via Hiera. |
| 17 # | 17 # |
| 18 # [*trackers*] | 18 # [*trackers*] |
| 19 # A has of adblockplus::log::rotation $title => $parameter items | 19 # A hash of adblockplus::log::rotation $title => $parameter items |
|
Fred
2016/04/06 18:03:03
Typo (hash)
mathias
2016/04/06 19:16:27
Acknowledged.
| |
| 20 # to set up in this context, i.e. via Hiera. | 20 # to set up in this context, i.e. via Hiera. |
| 21 # | 21 # |
| 22 # === Examples: | 22 # === Examples: |
| 23 # | 23 # |
| 24 # class {'adblockplus::log': | 24 # class {'adblockplus::log': |
| 25 # rotations => { | 25 # rotations => { |
| 26 # # see adblockplus::log::rotation | 26 # # see adblockplus::log::rotation |
| 27 # }, | 27 # }, |
| 28 # trackers => { | 28 # trackers => { |
| 29 # # see adblockplus::log::tracker | 29 # # see adblockplus::log::tracker |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 90 User['fluent'], | 90 User['fluent'], |
| 91 ], | 91 ], |
| 92 } | 92 } |
| 93 | 93 |
| 94 # See modules/adblockplus/manifests/log/rotation.pp | 94 # See modules/adblockplus/manifests/log/rotation.pp |
| 95 create_resources('adblockplus::log::rotation', $rotations) | 95 create_resources('adblockplus::log::rotation', $rotations) |
| 96 | 96 |
| 97 # See modules/adblockplus/manifests/log/tracker.pp | 97 # See modules/adblockplus/manifests/log/tracker.pp |
| 98 create_resources('adblockplus::log::tracker', $trackers) | 98 create_resources('adblockplus::log::tracker', $trackers) |
| 99 } | 99 } |
| LEFT | RIGHT |