-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
pending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedstale
Milestone
Description
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.
Here's the code in salt/pillar/__init__.py
, which calls salt/fileclient.py
.
Steps to Reproduce Issue
Versions Report
All versions
Metadata
Metadata
Assignees
Labels
pending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedstale