commit | 74c0edb88a74df2fab0ac11aa525f5cfc74ef6ab | [log] [tgz] |
---|---|---|
author | Simon Pasquier <spasquier@mirantis.com> | Tue Jul 11 15:21:15 2017 +0200 |
committer | Simon Pasquier <spasquier@mirantis.com> | Tue Jul 11 15:21:15 2017 +0200 |
tree | d04a27d986fae7a4c634eb4871869618ad6c9ed5 | |
parent | e5ca098394b70cc451e8ecd8e7ae641d6dcf85f2 [diff] |
Fix telegraf configuration Change-Id: I260b1c616b0791a91798fe9416e48bf8cc5446e9
diff --git a/nginx/files/telegraf.conf b/nginx/files/telegraf.conf index e792f04..2a5ad25 100644 --- a/nginx/files/telegraf.conf +++ b/nginx/files/telegraf.conf
@@ -1,2 +1,2 @@ [[inputs.nginx]] - urls = {{ values.urls|json }} \ No newline at end of file + urls = {%- if values.urls is string %}[ "{{ values.urls }}" ]{%- else %}{{ values.urls|json }}{%- endif %}