Merge "Streamline input plugin configurations"
diff --git a/telegraf/files/input/exec.conf b/telegraf/files/input/exec.conf
new file mode 100644
index 0000000..e7ee360
--- /dev/null
+++ b/telegraf/files/input/exec.conf
@@ -0,0 +1,12 @@
+{%- if values.commands is defined %}
+[[inputs.exec]]
+commands = {%- if values.commands is list %}{{ values.commands|json }}{%- else %}[ "{{ values.commands }}" ]{%- endif %}
+{%- if values.timeout is defined %}
+timeout = "{{ values.timeout }}"
+{%- endif %}
+{%- if values.interval is defined %}
+interval = "{{ values.interval }}"
+{%- endif %}
+data_format = "{{ values.data_format|default('influx') }}"
+{%- include 'telegraf/files/input/_filters.conf' %}
+{%- endif %}