mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
doc/dev/formulas: fix minor Jinja syntax errors
This commit is contained in:
parent
179aecef50
commit
860a8b9924
1 changed files with 2 additions and 2 deletions
|
@ -1032,11 +1032,11 @@ example:
|
|||
|
||||
{# Extract the relevant subset for the app configured on the current
|
||||
machine (configured via a grain in this example). #}
|
||||
{% app = app_defaults.get(salt.grains.get('role') %}
|
||||
{% app = app_defaults.get(salt.grains.get('role')) %}
|
||||
|
||||
{# Allow values from Pillar to (optionally) update values from the lookup
|
||||
table. #}
|
||||
{% do app_defaults.update(salt.pillar.get('myapp', {}) %}
|
||||
{% do app_defaults.update(salt.pillar.get('myapp', {})) %}
|
||||
|
||||
deploy_application:
|
||||
git.latest:
|
||||
|
|
Loading…
Add table
Reference in a new issue