diff --git a/README.md b/README.md index 6d6ca7d..addf21a 100644 --- a/README.md +++ b/README.md @@ -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' } diff --git a/manifests/filter.pp b/manifests/filter.pp index 5a8f532..6462244 100644 --- a/manifests/filter.pp +++ b/manifests/filter.pp @@ -23,9 +23,9 @@ # @example # ::fluentd::filter { 'test': # priority => 20, -# pattern => '*.test' +# pattern => '*.test', # config => { -# 'type' => 'record_transformer' +# 'type' => 'record_transformer', # 'record' => { # 'hostname' => '${hostname}' # } diff --git a/manifests/match.pp b/manifests/match.pp index cad1245..98d74e1 100644 --- a/manifests/match.pp +++ b/manifests/match.pp @@ -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' # } diff --git a/manifests/source.pp b/manifests/source.pp index 535c1c6..e5a2e61 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -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' # } # }