Open Crest opened 2 months ago
Not a bug, related: it would be useful to make the array of suffixes a parameter with the old default value ['.conf', '.ucl']
as default value. Given an empty array the macro should disable suffix stripping instead of using the default value.
The
.include(glob=true, prefix=true) "config.d/*.conf"
macro only strips the.conf
(or.ucl
) suffix from the first file matching theconfig.d/*.conf"
pattern. Given files namedconfig.d/blah.conf
andconfig.d/blub.conf
it results in the objectsblah
(suffix correctly stripped)blub.conf
(suffix incorrectly retained).