Try running in /etc instead of /opt
This commit is contained in:
parent
98e381c712
commit
0bcbf398ba
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue