mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 05:10:36 +00:00
fixed filter.erb template indentation
This commit is contained in:
parent
f4da637999
commit
ad17694713
@ -1,6 +1,6 @@
|
|||||||
<filter *.test>
|
<filter *.test>
|
||||||
type record_transformer
|
type record_transformer
|
||||||
<record>
|
<record>
|
||||||
hostname ${hostname}
|
hostname ${hostname}
|
||||||
</record>
|
</record>
|
||||||
</filter>
|
</filter>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<filter <%= @pattern %>>
|
<filter <%= @pattern %>>
|
||||||
<% @config.each do |key, val| -%>
|
<% @config.each do |key, val| -%>
|
||||||
<%- if val.is_a?( Hash ) -%>
|
<%- if val.is_a?( Hash ) -%>
|
||||||
<<%= key -%>>
|
<<%= key -%>>
|
||||||
<%- val.each do |key2, val2| -%>
|
<%- val.each do |key2, val2| -%>
|
||||||
<%= key2 -%> <%= val2 %>
|
<%= key2 -%> <%= val2 %>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
</<%= key %>>
|
</<%= key %>>
|
||||||
<%- else -%>
|
<%- else -%>
|
||||||
<%= key -%> <%= val %>
|
<%= key -%> <%= val %>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</filter>
|
</filter>
|
||||||
|
Loading…
Reference in New Issue
Block a user