[DOCS] Add how to target on pillars from specific pillarenv
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description
I don't know how to target based on pillars from a specific pillarenv in CLI commands. I can set the pillarenv when executing state.apply, and this works for targeting in top.sls, but how do I do the same for CLI commands (for example salt -I 'key:value' test.ping where key exists in a non-base pillarenv)?
Suggested Fix
Add documentation for existing behavior and, if not implemented, make targeting possibilities the same between top.sls and the CLI the same.
Location or format of documentation
https://docs.saltproject.io/en/latest/topics/targeting/pillar.html
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.
Research direction
Start with the pillar targeting documentation at the linked location and reproduce the salt -I 'key:value' test.ping example using a non-base pillarenv. Determine whether the behavior is already documented or whether CLI targeting differs from top.sls; done means documenting the existing behavior or clearly defining the required parity change.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100