Merge pull request #41793 from abednarik/41732_cmd_run_docs_fix

Fix typo in cmd.wait documentation
This commit is contained in:
Mike Place 2017-06-20 14:53:58 -05:00 committed by GitHub
commit ecb5f26299

View File

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