Fix extra plugins by file

This commit is contained in:
Anthony ARNAUD
2017-07-20 23:33:27 -04:00
parent 4fb8da24af
commit 87e6e95c72
2 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,3 @@
{% if telegraf_plugins_extra is defined and telegraf_plugins_extra is iterable %}
{% for item in telegraf_plugins_extra %}
[[inputs.{{ item.plugin }}]]
{% if item.interval is defined %}
interval = "{{ item.interval }}s"
@ -45,5 +43,3 @@
{{ items }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}