Bug #17606
closed
[deployment][provision] extra dirs and files are poorly managed
Added by Javier Bértoli over 3 years ago.
Updated over 3 years ago.
Assigned To:
Javier Bértoli
Release relationship:
Auto
Description
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.
- Target version changed from 2021-05-12 sprint to 2021-05-26 sprint
- Assigned To changed from Javier Bértoli to Nico César
- Assigned To changed from Nico César to Javier Bértoli
- Status changed from New to In Progress
- 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
- Status changed from Feedback to Resolved
Also available in: Atom
PDF