Add two examples of using the template context

This commit is contained in:
Matthew X. Economou 2016-09-11 06:25:16 -04:00
parent 3e20211d72
commit 0611f52616
No known key found for this signature in database
GPG key ID: 79A74A5561687230

View file

@ -55,6 +55,20 @@ mysql:
load: True
source: salt://mysql/files/baz.schema.tmpl
template: jinja
qux:
load: True
source: salt://mysql/files/qux.schema.tmpl
template: jinja
context:
encabulator: Turbo
girdlespring: differential
quux:
load: True
source: salt://mysql/files/qux.schema.tmpl
template: jinja
context:
encabulator: Retro
girdlespring: integral
# Manage users
# you can get pillar for existing server using scripts/import_users.py script