# This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!

<source>
  <% if node['td_agent']['version'].to_i < 3 %>
  type <%= @type %>
  <% else %>
  @type <%= @type %>
  <% end %>
  <% if @tag %>
  tag <%= @tag %>
  <% end %>
  <%= @parameters -%>
</source>

# This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!

<source>
  <% if node['td_agent']['version'].to_i < 3 %>
  type <%= @type %>
  <% else %>
  @type <%= @type %>
  <% end %>
  <% if @tag %>
  tag <%= @tag %>
  <% end %>
<%= @parameters -%>
</source>

Remove leading space for params
Remove leading space for params

When parameters are generated, a leading tab is added.  For all source directives, there's an awkward tab that makes the configs difficult to read.  All other ERB templates have this leading tab removed for @parameters