1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00

added missing , in examples

This commit is contained in:
Max Wilhelm 2015-12-04 12:54:07 +01:00
parent 395128abd5
commit d1907b14f6
4 changed files with 23 additions and 23 deletions

View File

@ -39,9 +39,9 @@ include '::fluentd'
::fluentd::source { 'test':
priority => 10,
config => {
'type' => 'tail'
'format' => 'json'
'path' => '/var/log/test-application/*.json'
'type' => 'tail',
'format' => 'json',
'path' => '/var/log/test-application/*.json',
'tag' => 'application.test'
}
}
@ -60,9 +60,9 @@ include '::fluentd'
```puppet
::fluentd::filter { 'test':
priority => 20,
pattern => '*.test'
pattern => '*.test',
config => {
'type' => 'record_transformer'
'type' => 'record_transformer',
'record' => {
'hostname' => '${hostname}'
}
@ -83,14 +83,14 @@ include '::fluentd'
```puppet
::fluentd::match { 'test':
priority => 30,
pattern => '*.test'
pattern => '*.test',
config => {
'flush_interval' => '30s'
'type' => 'secure_forward'
'secure' => 'yes'
'shared_key' => 'my_shared_key'
'self_hostname' => 'instance.test.com'
'ca_cert_path' => '/path/to/ca.cert'
'flush_interval' => '30s',
'type' => 'secure_forward',
'secure' => 'yes',
'shared_key' => 'my_shared_key',
'self_hostname' => 'instance.test.com',
'ca_cert_path' => '/path/to/ca.cert',
'servers' => {
'host' => 'test.server.com'
}

View File

@ -23,9 +23,9 @@
# @example
# ::fluentd::filter { 'test':
# priority => 20,
# pattern => '*.test'
# pattern => '*.test',
# config => {
# 'type' => 'record_transformer'
# 'type' => 'record_transformer',
# 'record' => {
# 'hostname' => '${hostname}'
# }

View File

@ -25,12 +25,12 @@
# priority => 30,
# pattern => '*.test'
# config => {
# 'flush_interval' => '30s'
# 'type' => 'secure_forward'
# 'secure' => 'yes'
# 'shared_key' => 'my_shared_key'
# 'self_hostname' => 'instance.test.com'
# 'ca_cert_path' => '/path/to/ca.cert'
# 'flush_interval' => '30s',
# 'type' => 'secure_forward',
# 'secure' => 'yes',
# 'shared_key' => 'my_shared_key',
# 'self_hostname' => 'instance.test.com',
# 'ca_cert_path' => '/path/to/ca.cert',
# 'servers' => {
# 'host' => 'test.server.com'
# }

View File

@ -21,9 +21,9 @@
# ::fluentd::source { 'test':
# priority => 10,
# config => {
# 'type' => 'tail'
# 'format' => 'json'
# 'path' => '/var/log/test-application/*.json'
# 'type' => 'tail',
# 'format' => 'json',
# 'path' => '/var/log/test-application/*.json',
# 'tag' => 'application.test'
# }
# }