[BUG] Strange case sensitivity when matching minions
@twangboy is already working on this.
Since Sep 22, 2021.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
salt 'us*' test.ping matches minions that start with 'us' and 'US' (both upper and lower case).
salt 'US*' test.ping only matches minions that start with 'US' and not 'us' (only upper case).
In our system, Windows machines are all upper-case...so I'm thinking maybe Windows is the culprit even though the salt master is running on a 'nix system.
I can work around this by running salt -E 'us.*' or salt -E 'US.*'.
Expected behavior
I would expect minion matching to be case-sensitive and consistent with other salt programs like salt-key.
salt-key -a us* only matches lower-case.
salt-key -a US* only matches upper-case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.