Description of Issue/Question
By convention YAML markup files should use .yaml extension but salt refuses to read YAML file saved with this extension. This is non-intuitive, a barrier to adopting salt, and does not follow recommendation from https://yaml.org/faq.html
Is there an official extension for YAML files?
Please use ".yaml" when possible.
Please allow .yaml extension for pillar data.
Setup
salt error for pillar data in saved as /srv/pillar/template.yaml
Data failed to compile:
----------
Pillar failed to render with the following messages:
----------
Specified SLS 'template' in environment 'base' is not available on the salt master
Salt enforces .sls extension for files in YAML format.
- L82
- L120
- L148
Here's the code in salt/pillar/__init__.py, which calls salt/fileclient.py.
Steps to Reproduce Issue
Versions Report
All versions
Description of Issue/Question
By convention YAML markup files should use
.yamlextension but salt refuses to read YAML file saved with this extension. This is non-intuitive, a barrier to adopting salt, and does not follow recommendation from https://yaml.org/faq.htmlPlease allow
.yamlextension for pillar data.Setup
salt error for pillar data in saved as
/srv/pillar/template.yamlSalt enforces
.slsextension for files in YAML format.Here's the code in
salt/pillar/__init__.py, which callssalt/fileclient.py.Steps to Reproduce Issue
Versions Report
All versions