mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #41793 from abednarik/41732_cmd_run_docs_fix
Fix typo in cmd.wait documentation
This commit is contained in:
commit
ecb5f26299
@ -171,8 +171,8 @@ Should I use :mod:`cmd.run <salt.states.cmd.run>` or :mod:`cmd.wait <salt.states
|
||||
|
||||
.. note::
|
||||
|
||||
Use ``cmd.run`` together with :mod:`onchanges </ref/states/requisites#onchanges>`
|
||||
instead of ``cmd.wait``.
|
||||
Use :mod:`cmd.run <salt.states.cmd.run>` together with :ref:`onchanges <requisites-onchanges>`
|
||||
instead of :mod:`cmd.wait <salt.states.cmd.wait>`.
|
||||
|
||||
These two states are often confused. The important thing to remember about them
|
||||
is that :mod:`cmd.run <salt.states.cmd.run>` states are run each time the SLS
|
||||
@ -415,7 +415,8 @@ def wait(name,
|
||||
|
||||
.. note::
|
||||
|
||||
Use :mod:`cmd.run <salt.states.cmd.run>` with :mod:`onchange </ref/states/requisites#onchanges>` instead.
|
||||
Use :mod:`cmd.run <salt.states.cmd.run>` together with :mod:`onchanges </ref/states/requisites#onchanges>`
|
||||
instead of :mod:`cmd.wait <salt.states.cmd.wait>`.
|
||||
|
||||
name
|
||||
The command to execute, remember that the command will execute with the
|
||||
|
Loading…
Reference in New Issue
Block a user