mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
45449583d9
- extend source to support format and parse section - extend match to support buffers with chunk keys - update readme
14 lines
255 B
Plaintext
14 lines
255 B
Plaintext
<source>
|
|
<% @config.each do |key, val| -%>
|
|
<%- if val.is_a?( Hash ) -%>
|
|
<<%= key -%>>
|
|
<%- val.each do |key, val| -%>
|
|
<%= key -%> <%= val %>
|
|
<%- end -%>
|
|
</<%= key %>>
|
|
<%- else -%>
|
|
<%= key -%> <%= val %>
|
|
<%- end -%>
|
|
<% end -%>
|
|
</source>
|