1
0
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:
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> <filter *.test>
type record_transformer type record_transformer
<record> <record>
hostname ${hostname} hostname ${hostname}
</record> </record>
</filter> </filter>

View File

@ -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>