mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-14 14:00:36 +00:00
14 lines
313 B
Plaintext
14 lines
313 B
Plaintext
|
<match <%= @pattern %>>
|
||
|
<% @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 -%>
|
||
|
</match>
|