updated telegraf state

This commit is contained in:
Paul 2020-07-20 13:14:13 +02:00
parent 6e27f46603
commit 774fc6ddf9

View File

@ -9,11 +9,15 @@ telegraf-archive-extract:
- skip_verify: True - skip_verify: True
- archive_format: tar - archive_format: tar
- if_missing: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf - if_missing: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf
- watch_in:
- service: telegraf-service
telegraf-bin-symlink: telegraf-bin-symlink:
file.symlink: file.symlink:
- name: /usr/local/bin/telegraf - name: /usr/local/bin/telegraf
- target: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf - target: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf
- watch_in:
- service: telegraf-service
telegraf-defaults-file: telegraf-defaults-file:
file.managed: file.managed:
@ -23,4 +27,4 @@ telegraf-defaults-file:
- group: root - group: root
- template: jinja - template: jinja
- watch_in: - watch_in:
- service: telegraf-service - service: telegraf-service