doc/dev/formulas: fix minor Jinja syntax errors

This commit is contained in:
Ky-Anh Huynh 2018-06-18 10:42:44 +07:00
parent 179aecef50
commit 860a8b9924
No known key found for this signature in database
GPG key ID: B47786AF503CDEA5

View file

@ -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: