mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct usage of import_yaml in formula documentation
This commit is contained in:
parent
742cf7e4dd
commit
37775a5fa6
1 changed files with 2 additions and 2 deletions
|
@ -944,7 +944,7 @@ XML.)
|
|||
|
||||
.. code-block:: yaml
|
||||
|
||||
{% load_yaml 'tomcat/defaults.yaml' as server_xml_defaults %}
|
||||
{% import_yaml 'tomcat/defaults.yaml' as server_xml_defaults %}
|
||||
{% set server_xml_final_values = salt.pillar.get(
|
||||
'appX:server_xml_overrides',
|
||||
default=server_xml_defaults,
|
||||
|
@ -980,7 +980,7 @@ example:
|
|||
.. code-block:: yaml
|
||||
|
||||
{# Load the map file. #}
|
||||
{% load_yaml 'app/defaults.yaml' as app_defaults %}
|
||||
{% import_yaml 'app/defaults.yaml' as app_defaults %}
|
||||
|
||||
{# Extract the relevant subset for the app configured on the current
|
||||
machine (configured via a grain in this example). #}
|
||||
|
|
Loading…
Add table
Reference in a new issue