local glob isn't as advanced as stdlib glob
This commit is contained in:
parent
77ff6d2c82
commit
ffaf1fd172
1 changed files with 1 additions and 2 deletions
|
@ -13,11 +13,10 @@ class eid::telegraf(String $version = "stable") {
|
||||||
notify => Sunet::Docker_run['telegraf']
|
notify => Sunet::Docker_run['telegraf']
|
||||||
}
|
}
|
||||||
|
|
||||||
eid_glob(["/etc/telegraf/telegraf.conf.d/*.conf"]).each |Integer $index, String $file| {
|
eid_glob(["/etc/telegraf/telegraf.conf.d/*.conf"]).each |String $file| {
|
||||||
concat::fragment { $file:
|
concat::fragment { $file:
|
||||||
target => "/etc/telegraf/telegraf.conf",
|
target => "/etc/telegraf/telegraf.conf",
|
||||||
source => $file,
|
source => $file,
|
||||||
order => $index
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue