requested fixes.

This commit is contained in:
Gareth J. Greenaway 2023-04-05 16:28:26 -07:00 committed by Megan Wilhite
parent 07cc1ca8ae
commit 13aed44e86
2 changed files with 4 additions and 4 deletions

View file

@ -917,7 +917,7 @@ In the above case, ``some_check`` will be run prior to _each_ name -- once for
key: not-existing
get_return: res
.. versionchanged:: 3006
.. versionchanged:: 3006.0
Since the ``unless`` requisite utilizes ``cmd.retcode``, certain parameters
included in the state are passed along to ``cmd.retcode``. On occasion this
@ -926,7 +926,7 @@ In the above case, ``some_check`` will be run prior to _each_ name -- once for
This would cause ``cmd.retcode`` to run the command using that shell which
would fail regardless of the result of the command.
By include ``shell`` in ``cmd_opts_exclude``, that parameter would not be
By including ``shell`` in ``cmd_opts_exclude``, that parameter would not be
passed along to the call to ``cmd.retcode``.
.. code-block:: yaml
@ -1028,7 +1028,7 @@ if the gluster commands return a 0 ret value.
key: does-exist
get_return: res
.. versionchanged:: 3006
.. versionchanged:: 3006.0
Since the ``onlyif`` requisite utilizes ``cmd.retcode``, certain parameters
included in the state are passed along to ``cmd.retcode``. On occasion this
@ -1037,7 +1037,7 @@ if the gluster commands return a 0 ret value.
This would cause ``cmd.retcode`` to run the command using that shell which
would fail regardless of the result of the command.
By include ``shell`` in ``cmd_opts_exclude``, that parameter would not be
By including ``shell`` in ``cmd_opts_exclude``, that parameter would not be
passed along to the call to ``cmd.retcode``.
.. code-block:: yaml