file_tree pillar: fails when data files at root end in '\n' #31223
Labels
Bug
broken, incorrect, or confusing behavior
P3
Priority 3
Pillar
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Since 1ba448b (in v2015.8.4)
Using file_tree pillar, if any of the files end with '\n', this exception is thrown:
It looks to me like a bug in the code, and I am submitting a PR momentarily.
For reference, I have the files laid out like this:
and my /etc/salt/master contains this:
The text was updated successfully, but these errors were encountered: