Updating Telegraf default to 1.9.0

This commit is contained in:
Werner Dijkerman
2018-11-21 19:26:52 +01:00
parent 3cccb6ba50
commit 54f305b80a
3 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,7 @@
--- ---
# defaults file for ansible-telegraf # defaults file for ansible-telegraf
telegraf_agent_version: 1.7.3 telegraf_agent_version: 1.9.0
telegraf_agent_hostname: "{{ ansible_fqdn }}" telegraf_agent_hostname: "{{ ansible_fqdn }}"
telegraf_agent_interval: 10 telegraf_agent_interval: 10
telegraf_agent_debug: False telegraf_agent_debug: False

View File

@ -9,17 +9,28 @@ lint:
config-file: molecule/default/yaml-lint.yml config-file: molecule/default/yaml-lint.yml
platforms: platforms:
- name: influxdb
image: influxdb
privileged: True
groups:
- influxdb
- name: telegraf-centos - name: telegraf-centos
image: milcom/centos7-systemd image: milcom/centos7-systemd
privileged: True privileged: True
groups:
- telegraf
- name: telegraf-debian - name: telegraf-debian
image: minimum2scp/systemd-stretch image: minimum2scp/systemd-stretch
privileged: True privileged: True
command: /sbin/init command: /sbin/init
groups:
- telegraf
- name: telegraf-ubuntu - name: telegraf-ubuntu
image: solita/ubuntu-systemd:bionic image: solita/ubuntu-systemd:bionic
privileged: True privileged: True
command: /sbin/init command: /sbin/init
groups:
- telegraf
provisioner: provisioner:
name: ansible name: ansible

View File

@ -21,6 +21,6 @@ def test_telegraf_dot_conf(File):
assert telegraf.contains('[[inputs.cpu]]') assert telegraf.contains('[[inputs.cpu]]')
def test_telegraf_package(Package, SystemInfo): def test_telegraf_package(Package):
telegraf = Package('telegraf') telegraf = Package('telegraf')
assert telegraf.is_installed assert telegraf.is_installed