Add handler for list of files for in_tail
Change-Id: I2c8f55d63b6f2deefb91157786cc0f0bd90ee8ed
Closes-Bug: PROD-22638
diff --git a/fluentd/files/input/tail.conf b/fluentd/files/input/tail.conf
index af3a38c..32bb68e 100644
--- a/fluentd/files/input/tail.conf
+++ b/fluentd/files/input/tail.conf
@@ -2,7 +2,11 @@
{%- set bool_plugin_parameters = ['read_from_head', 'enable_watch_timer', 'skip_refresh_on_startup', 'ignore_repeated_permission_error'] %}
<source>
{% include 'fluentd/files/input/_general.conf' %}
+{%- if values.path is string %}
path {{ values.path }}
+{%- else %}
+ path {{ values.path | join(",") }}
+{%- endif %}
{%- for parameter in plugin_parameters %}
{%- if values.get(parameter) %}
{{ parameter }} {{values.get(parameter)}}