templates/agent-conf.d/linux_proc_extras.yaml.erb (12 lines of code) (raw):
### MANAGED BY PUPPET
# There's no configuration necessary for this check.
init_config:
instances:
<% if @tags.empty? -%>
- tags: []
<% else -%>
- tags:
<% @tags.each do |tag| -%>
- <%= tag %>
<% end -%>
<% end -%>