Index: hiera/roles/logprocessor.yaml |
diff --git a/hiera/roles/logprocessor.yaml b/hiera/roles/logprocessor.yaml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a502a23ca15665ad6129810c2ec3268c89f7f9d6 |
--- /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: |
Fred
2016/03/21 16:33:35
Do we really need/want this plugin in the developm
mathias
2016/03/21 16:36:22
Actually I do not want any of these plugins in dev
Fred
2016/03/21 16:42:20
That suggestion sounds reasonable to me.
|
+ ensure: "present" |
+ fluent-plugin-grep: |
+ ensure: "present" |
+ |