From 0bcbf398baaf7c20e6a9ab207d3804ae18e156e7 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Tue, 25 Mar 2025 16:20:27 +0100 Subject: [PATCH] Try running in /etc instead of /opt --- global/overlay/etc/puppet/modules/eid/manifests/telegraf2.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/eid/manifests/telegraf2.pp b/global/overlay/etc/puppet/modules/eid/manifests/telegraf2.pp index f58cefad..afd5fbcf 100644 --- a/global/overlay/etc/puppet/modules/eid/manifests/telegraf2.pp +++ b/global/overlay/etc/puppet/modules/eid/manifests/telegraf2.pp @@ -8,7 +8,7 @@ class eid::telegraf2 ( String $version = 'latest', String $server_fqdn = $facts['networking']['fqdn'], Array $ports = [], - String $service_dir = '/opt/telegraf', + String $service_dir = '/etc/telegraf', ) { # Get influx values @@ -21,7 +21,7 @@ class eid::telegraf2 ( sunet::docker_compose { 'telegraf': content => template('eid/telegraf2/docker-compose.yml.erb'), service_name => 'telegraf', - compose_dir => '/opt/', + compose_dir => '/etc/', compose_filename => 'docker-compose.yml', description => 'telegraf' }