update telegraf

This commit is contained in:
Erik Bergström 2022-05-20 13:02:27 +02:00
parent 5e94480ff5
commit 9a780812bd

View file

@ -6,6 +6,7 @@ class eid::telegraf(String $version = "stable", Array $volumes = [], Array $port
$influx2_token = hiera("influx2_token","NOT_SET_IN_HIERA");
$influxdb2_org = hiera("influxdb2_org","NOT_SET_IN_HIERA");
$influxdb2_bucket = hiera("influxdb2_bucket","NOT_SET_IN_HIERA");
$influxdb2_bucket_proxy = hiera("influxdb2_bucket_proxy","NOT_SET_IN_HIERA");
file {['/etc/telegraf','/etc/telegraf/telegraf.conf.d']: ensure => directory }
concat {'/etc/telegraf/telegraf.conf':
owner => 'root',