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
telegraf_agent_version: 1.7.3
telegraf_agent_version: 1.9.0
telegraf_agent_hostname: "{{ ansible_fqdn }}"
telegraf_agent_interval: 10
telegraf_agent_debug: False

View File

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

View File

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