mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
fix the code-block syntax
This commit is contained in:
parent
631c8982d3
commit
03d339000c
@ -16,14 +16,14 @@ run
|
||||
Execute a command given certian conditions
|
||||
|
||||
A simple exampe:
|
||||
code-block.. yaml:
|
||||
.. code-block:: yaml
|
||||
date > /tmp/salt-run:
|
||||
cmd:
|
||||
- run
|
||||
|
||||
Only run if another execution returns sucessfully, in this case truncate
|
||||
syslog if there is no disk space:
|
||||
code-block.. yaml:
|
||||
.. code-block:: yaml
|
||||
> /var/log/messages:
|
||||
cmd:
|
||||
- run
|
||||
|
@ -12,7 +12,7 @@ By default the timing arguments are all ``*`` and the user is root. When making
|
||||
changes to an existing cron job the name declaraion is the uniqe factor, so if
|
||||
and existing cron that looks like this:
|
||||
|
||||
code-block.. yaml:
|
||||
.. code-block:: yaml
|
||||
date > /tmp/crontest:
|
||||
cron:
|
||||
- present
|
||||
@ -21,7 +21,7 @@ code-block.. yaml:
|
||||
|
||||
Is changed to this:
|
||||
|
||||
code-block.. yaml:
|
||||
.. code-block:: yaml
|
||||
date > /tmp/crontest:
|
||||
cron:
|
||||
- present
|
||||
|
Loading…
Reference in New Issue
Block a user