Module for checking jinja maps and verifying the result of loading JSON/YAML files
New in version 3000.
Loads JSON data from the specified path
CLI Example:
salt myminion jinja.import_JSON myformula/foo.json
Loads YAML data from the specified path
CLI Example:
salt myminion jinja.import_yaml myformula/foo.yaml
Loads the map at the specified path, and returns the specified value from that map.
CLI Example:
# Assuming the map is loaded in your formula SLS as follows:
#
# {% from "myformula/map.jinja" import myformula with context %}
#
# the following syntax can be used to load the map and check the
# results:
salt myminion jinja.load_map myformula/map.jinja myformula
Generated on April 30, 2024 at 17:51:03 UTC.
You are viewing docs for the latest stable release, 3007.0. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy