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

Unified Diff: hiera/roles/logprocessor.yaml

Issue 29338675: Issue 3694 - Introduce class adblockplus::log::processor and role logprocessor (Closed)
Patch Set: Issue 3694 - Addressing feedback from code-review Created March 21, 2016, 4:44 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/adblockplus/manifests/log/processor.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hiera/roles/logprocessor.yaml
diff --git a/hiera/roles/logprocessor.yaml b/hiera/roles/logprocessor.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..080fc1423dcb4415d15d78337f75f5513a5ab3b2
--- /dev/null
+++ b/hiera/roles/logprocessor.yaml
@@ -0,0 +1,50 @@
+# This role is meant for development, testing and debugging purpose only
+classes:
+ adblockplus::log::processor:
+ fluent:
+ package:
+ ensure: "2.3.1-0"
+ provider: "apt"
+ user:
+ managehome: true
+ groups:
+ - "adm"
+ - "users"
+ shell: "/bin/bash"
+
+# modules/fluent/manifests/config.pp
+fluent::configs:
+ debugging_example:
+ content: |
+ <source>
+ @type debug_agent
+ bind 0.0.0.0
+ port 24230
+ </source>
+ ensure: "absent"
+ name: "20-debug"
+ monitoring_example:
+ content: |
+ <source>
+ @type monitor_agent
+ bind 0.0.0.0
+ port 24220
+ </source>
+ ensure: "present"
+ name: "20-monitor"
+ output_example:
+ content: |
+ <match **>
+ @type file
+ path /tmp/fluentd-example.log
+ </match>
+ ensure: "present"
+ name: "80-output"
+
+# modules/fluent/manifests/gem.pp
+fluent::gems:
+ fluent-plugin-secure-forward:
+ ensure: "absent"
+ fluent-plugin-grep:
+ ensure: "present"
+
« no previous file with comments | « no previous file | modules/adblockplus/manifests/log/processor.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld