Saltstack Pillar for linux and Windows error
Open
Nobody has claimed this yet.
Question
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Hello all,
I am currently creating a pillar for both Red hat and Windows.
The pillar looks like this at the moment:
Top.sls:
# top.sls
base:
'*':
- redhat
- windows
# redhat.sls
redhat:
update_redhat:
pkg.uptodate:
- name: '*'
# windows.sls
windows:
update_windows:
wua.uptodate:
- name: '*'
When I execute this script, I keep on getting this error:
- Specified SLS 'windows' in environment 'base' is not available on the salt master
I don’t know how to fix this do any of you have any insight on this?
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 by checking how Top.sls, redhat.sls, and windows.sls are located and loaded by the Salt master, then reproduce the reported unavailable-SLS error with the shown configuration. Done means the configuration loads for both Red Hat and Windows without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100