mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #35498 from rallytime/file-state-docs
Add supported templates list to all template doc references in file state
This commit is contained in:
commit
5bd44b10a7
1 changed files with 30 additions and 11 deletions
|
@ -2236,13 +2236,19 @@ def recurse(name,
|
|||
Windows
|
||||
|
||||
template
|
||||
If this setting is applied then the named templating engine will be
|
||||
used to render the downloaded file. Supported templates are:
|
||||
`jinja`, `mako` and `wempy`.
|
||||
If this setting is applied, the named templating engine will be used to
|
||||
render the downloaded file. The following templates are supported:
|
||||
|
||||
.. note::
|
||||
- :mod:`cheetah<salt.renderers.cheetah>`
|
||||
- :mod:`genshi<salt.renderers.genshi>`
|
||||
- :mod:`jinja<salt.renderers.jinja>`
|
||||
- :mod:`mako<salt.renderers.mako>`
|
||||
- :mod:`py<salt.renderers.py>`
|
||||
- :mod:`wempy<salt.renderers.wempy>`
|
||||
|
||||
The template option is required when recursively applying templates.
|
||||
.. note::
|
||||
|
||||
The template option is required when recursively applying templates.
|
||||
|
||||
context
|
||||
Overrides default context variables passed to the template.
|
||||
|
@ -3026,9 +3032,15 @@ def blockreplace(
|
|||
- source_hash: md5=79eef25f9b0b2c642c62b7f737d4f53f
|
||||
|
||||
template
|
||||
If this setting is applied then the named templating engine will be
|
||||
used to render the downloaded file, currently jinja, mako, and wempy
|
||||
are supported
|
||||
The named templating engine will be used to render the downloaded file.
|
||||
Defaults to ``jinja``. The following templates are supported:
|
||||
|
||||
- :mod:`cheetah<salt.renderers.cheetah>`
|
||||
- :mod:`genshi<salt.renderers.genshi>`
|
||||
- :mod:`jinja<salt.renderers.jinja>`
|
||||
- :mod:`mako<salt.renderers.mako>`
|
||||
- :mod:`py<salt.renderers.py>`
|
||||
- :mod:`wempy<salt.renderers.wempy>`
|
||||
|
||||
context
|
||||
Overrides default context variables passed to the template.
|
||||
|
@ -3480,9 +3492,16 @@ def append(name,
|
|||
- source: https://launchpad.net/tomdroid/beta/0.7.3/+download/tomdroid-src-0.7.3.tar.gz
|
||||
- source_hash: https://launchpad.net/tomdroid/beta/0.7.3/+download/tomdroid-src-0.7.3.tar.gz/+md5
|
||||
|
||||
template : ``jinja``
|
||||
The named templating engine will be used to render the appended-to
|
||||
file. Defaults to jinja.
|
||||
template
|
||||
The named templating engine will be used to render the appended-to file.
|
||||
Defaults to ``jinja``. The following templates are supported:
|
||||
|
||||
- :mod:`cheetah<salt.renderers.cheetah>`
|
||||
- :mod:`genshi<salt.renderers.genshi>`
|
||||
- :mod:`jinja<salt.renderers.jinja>`
|
||||
- :mod:`mako<salt.renderers.mako>`
|
||||
- :mod:`py<salt.renderers.py>`
|
||||
- :mod:`wempy<salt.renderers.wempy>`
|
||||
|
||||
sources
|
||||
A list of source files to append. If the files are hosted on an HTTP or
|
||||
|
|
Loading…
Add table
Reference in a new issue