Fix syntac in telegraf2 class, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-03-25 14:28:55 +01:00
parent 23867ae9a6
commit 4b4476b6c9
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -12,11 +12,11 @@ class eid::telegraf2 (
) {
# Get influx values
$influxdb2_token = hiera(influxdb2_token,NOT_SET_IN_HIERA)
$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)
$influxdb2_token = hiera(influxdb2_token,'NOT_SET_IN_HIERA')
$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 {[$service_dir,"${service_dir}/telegraf.conf.d"]: ensure => directory }
concat {"${service_dir}/telegraf.conf":