mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Clarify that templates are used on managed files
This commit is contained in:
parent
8747261f47
commit
6e4ac89be0
@ -6,11 +6,12 @@ Operations on regular files, special files, directories, and symlinks
|
||||
Salt States can aggressively manipulate files on a system. There are a number
|
||||
of ways in which files can be managed.
|
||||
|
||||
Regular files can be enforced with the ``managed`` function. This function
|
||||
downloads files from the salt master and places them on the target system.
|
||||
The downloaded files can be rendered as a jinja, mako, or wempy template,
|
||||
adding a dynamic component to file management. An example of ``file.managed``
|
||||
which makes use of the jinja templating system would look like this:
|
||||
Regular files can be enforced with the :mod:`file.managed
|
||||
<salt.states.file.managed>` state. This state downloads files from the salt
|
||||
master and places them on the target system. Managed files can be rendered as a
|
||||
jinja, mako, or wempy template, adding a dynamic component to file management.
|
||||
An example of :mod:`file.managed <salt.states.file.managed>` which makes use of
|
||||
the jinja templating system would look like this:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user