| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # This role is meant for development, testing and debugging purpose only | |
| 2 classes: | |
| 3 adblockplus::log::processor: | |
| 4 fluent: | |
| 5 package: | |
| 6 ensure: "2.3.1-0" | |
| 7 provider: "apt" | |
| 8 user: | |
| 9 managehome: true | |
| 10 groups: | |
| 11 - "adm" | |
| 12 - "users" | |
| 13 shell: "/bin/bash" | |
| 14 | |
| 15 # modules/fluent/manifests/config.pp | |
| 16 fluent::configs: | |
| 17 debugging_example: | |
| 18 content: | | |
| 19 <source> | |
| 20 @type debug_agent | |
| 21 bind 0.0.0.0 | |
| 22 port 24230 | |
| 23 </source> | |
| 24 ensure: "absent" | |
| 25 name: "20-debug" | |
| 26 monitoring_example: | |
| 27 content: | | |
| 28 <source> | |
| 29 @type monitor_agent | |
| 30 bind 0.0.0.0 | |
| 31 port 24220 | |
| 32 </source> | |
| 33 ensure: "present" | |
| 34 name: "20-monitor" | |
| 35 output_example: | |
| 36 content: | | |
| 37 <match **> | |
| 38 @type file | |
| 39 path /tmp/fluentd-example.log | |
| 40 </match> | |
| 41 ensure: "present" | |
| 42 name: "80-output" | |
| 43 | |
| 44 # modules/fluent/manifests/gem.pp | |
| 45 fluent::gems: | |
| 46 fluent-plugin-secure-forward: | |
| 47 ensure: "absent" | |
| 48 fluent-plugin-grep: | |
| 49 ensure: "present" | |
| 50 | |
| OLD | NEW |