updated telegraf state
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fa60977155
commit
fc509efe3b
@ -1,7 +1,7 @@
|
||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||
{%- from "telegraf/map.jinja" import telegraf with context %}
|
||||
{% macro cfg(value) -%}
|
||||
{% if value -%}
|
||||
{% if value and value != 'None' -%}
|
||||
{% for paramname, paramvalue in value.items() -%}
|
||||
{{ ' ' }}{{ paramname }} = {% if paramvalue is sameas True or paramvalue is sameas False %}{{ paramvalue|string|lower }}{% elif paramvalue is iterable and paramvalue is not string %}[{{ paramvalue|join(",") }}]{% else %}"{{ paramvalue }}"{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user