Enhancement request: wider contents_pillar support for salt.states.file
Open
Nobody has claimed this yet.
Feature
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Currently only file.managed supports the contents_pillar directive.
It would be incredibly useful if it was more widely supported within salt.states.file, for example file.append.
As far as I can tell, at the present time it is not at all possible to reference pillars from, for example, file.append ?
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 in the salt.states.file implementation, comparing the existing file.managed handling of contents_pillar with file.append and other file state functions. Define which functions should support the directive and verify that the requested pillar-backed behavior works consistently for those entry points.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100