telegraf class
This commit is contained in:
parent
427dff3e20
commit
99f1eb51a5
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class eid::telegraf(String $version = "stable") {
|
||||||
notify => Sunet::Docker_run['telegraf']
|
notify => Sunet::Docker_run['telegraf']
|
||||||
}
|
}
|
||||||
|
|
||||||
glob(["/etc/telegraf/telegraf.conf.d/**.conf"]).each |Integer $index, String $file| {
|
Dir(["/etc/telegraf/telegraf.conf.d/*.conf"]).each |Integer $index, String $file| {
|
||||||
concat::fragment { $file:
|
concat::fragment { $file:
|
||||||
target => "/etc/telegraf/telegraf.conf",
|
target => "/etc/telegraf/telegraf.conf",
|
||||||
source => $file,
|
source => $file,
|
||||||
|
|
Loading…
Add table
Reference in a new issue