Skip to content

Add an execution module to test load_yaml/load_json #49619

@terminalmage

Description

@terminalmage

This would be a function that would import the same code used by our Jinja renderer to handle load_yaml/load_json, to be used as a sanity check so one can see what data that map file contains. This would be very helpful to troubleshoot instances in which the data that is loaded doesn't match what the user expects, resulting in SLS errors.

Additionally, it would be useful to also have an option to use grains.filter_by to see what a given platform would load out of that map file.

Metadata

Metadata

Assignees

Labels

Featurenew functionality including changes to functionality and code refactors, etc.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions