[deployment][provision] extra dirs and files are poorly managed
When the script finds no extra dir/files, a wildcard file is created (
extras/\*) as a result.
This makes salt fail.
The loops replacing variables seem to be responsible for this.
Updated by Javier Bértoli over 1 year ago
- Status changed from In Progress to Feedback
The issue is a bash globbing issue, so instead of using nullglob, I used a subshell to list files where required.
Tested: removed the files from
config_examples/single_host/multiple_hostnames/states/, run it before and after the change and works as expected.
Fixed commit 941b5806c@arvados, branch 17606-file-globbing-issues