updated telegraf state
This commit is contained in:
parent
fc6f5ac031
commit
7dfe7dd938
@ -30,6 +30,7 @@ telegraf:
|
|||||||
- '"overlay"'
|
- '"overlay"'
|
||||||
- '"aufs"'
|
- '"aufs"'
|
||||||
- '"squashfs"'
|
- '"squashfs"'
|
||||||
|
- '"fuse.rclone"'
|
||||||
diskio:
|
diskio:
|
||||||
httpjson:
|
httpjson:
|
||||||
name: "ipinfo"
|
name: "ipinfo"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||||
{%- from "telegraf/map.jinja" import telegraf with context %}
|
{%- from "telegraf/map.jinja" import telegraf with context %}
|
||||||
{% macro cfg(value) -%}
|
{% macro cfg(value) -%}
|
||||||
{% if value is not none -%}
|
{% if value -%}
|
||||||
{% for paramname, paramvalue in value.items() -%}
|
{% 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 %}
|
{{ ' ' }}{{ 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 %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user