1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-09 20:50:34 +00:00

fixed filter.erb template indentation

This commit is contained in:
Max Wilhelm 2017-08-04 11:16:07 +02:00
parent f4da637999
commit ad17694713
2 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
<filter *.test>
type record_transformer
<record>
hostname ${hostname}
</record>
type record_transformer
<record>
hostname ${hostname}
</record>
</filter>

View File

@ -1,13 +1,13 @@
<filter <%= @pattern %>>
<% @config.each do |key, val| -%>
<%- if val.is_a?( Hash ) -%>
<<%= key -%>>
<%- val.each do |key2, val2| -%>
<%= key2 -%> <%= val2 %>
<%- end -%>
</<%= key %>>
<%- else -%>
<%= key -%> <%= val %>
<%- end -%>
<%- if val.is_a?( Hash ) -%>
<<%= key -%>>
<%- val.each do |key2, val2| -%>
<%= key2 -%> <%= val2 %>
<%- end -%>
</<%= key %>>
<%- else -%>
<%= key -%> <%= val %>
<%- end -%>
<% end -%>
</filter>