mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
[DOC] Fix code-block rST directive in file state module
This commit is contained in:
parent
abc9ece214
commit
ddfeae6a29
1 changed files with 4 additions and 2 deletions
|
@ -2962,7 +2962,9 @@ def retention_schedule(name, retain, strptime_format=None, timezone=None):
|
|||
This is only used when datetime is pulled from ``os.path.getmtime()``.
|
||||
Defaults to ``None`` which uses the timezone from the locale.
|
||||
|
||||
.. code-block: yaml
|
||||
Usage example:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
/var/backups/example_directory:
|
||||
file.retention_schedule:
|
||||
|
@ -3216,7 +3218,7 @@ def line(name, content, match=None, mode=None, location=None,
|
|||
processing can be bypassed in order to pass an equal sign through to the
|
||||
remote shell command by manually specifying the kwarg:
|
||||
|
||||
.. code-block: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
update_config:
|
||||
file.line:
|
||||
|
|
Loading…
Add table
Reference in a new issue