[DOC] Fix code-block rST directive in file state module

This commit is contained in:
Denys Havrysh 2018-01-31 12:04:20 +02:00
parent abc9ece214
commit ddfeae6a29
No known key found for this signature in database
GPG key ID: 6407DC470520CDF7

View file

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