1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13: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': ::fluentd::source { 'test':
priority => 10, priority => 10,
config => { config => {
'type' => 'tail' 'type' => 'tail',
'format' => 'json' 'format' => 'json',
'path' => '/var/log/test-application/*.json' 'path' => '/var/log/test-application/*.json',
'tag' => 'application.test' 'tag' => 'application.test'
} }
} }
@ -60,9 +60,9 @@ include '::fluentd'
```puppet ```puppet
::fluentd::filter { 'test': ::fluentd::filter { 'test':
priority => 20, priority => 20,
pattern => '*.test' pattern => '*.test',
config => { config => {
'type' => 'record_transformer' 'type' => 'record_transformer',
'record' => { 'record' => {
'hostname' => '${hostname}' 'hostname' => '${hostname}'
} }
@ -83,14 +83,14 @@ include '::fluentd'
```puppet ```puppet
::fluentd::match { 'test': ::fluentd::match { 'test':
priority => 30, priority => 30,
pattern => '*.test' pattern => '*.test',
config => { config => {
'flush_interval' => '30s' 'flush_interval' => '30s',
'type' => 'secure_forward' 'type' => 'secure_forward',
'secure' => 'yes' 'secure' => 'yes',
'shared_key' => 'my_shared_key' 'shared_key' => 'my_shared_key',
'self_hostname' => 'instance.test.com' 'self_hostname' => 'instance.test.com',
'ca_cert_path' => '/path/to/ca.cert' 'ca_cert_path' => '/path/to/ca.cert',
'servers' => { 'servers' => {
'host' => 'test.server.com' 'host' => 'test.server.com'
} }

View File

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

View File

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

View File

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