modules.state.sls,highstate: mock versionadded

This commit is contained in:
Justin Findlay 2016-01-11 14:25:32 -07:00
parent 934de30939
commit 22c1129f02
2 changed files with 10 additions and 5 deletions

View file

@ -5,11 +5,12 @@ Salt 2015.8.4 Release Notes
Core Changes
============
- Added option ``mock=True`` for ``state.sls`` and ``state.highstate``. This
allows the salt state compiler to process sls data in a state run without
actually calling the state functions, thus providing feedback on the validity
of the arguments used for the functions beyond the preprocessing validation
provided by ``state.show_sls`` (:issue:`30118` and :issue:`30189`).
- Added option ``mock=True`` for :mod:`state.sls <salt.modules.state.sls>` and
:mod:`state.highstate <salt.modules.state.highstate>`. This allows the salt
state compiler to process sls data in a state run without actually calling
the state functions, thus providing feedback on the validity of the arguments
used for the functions beyond the preprocessing validation provided by
``state.show_sls`` (:issue:`30118` and :issue:`30189`).
.. code-block:: shell

View file

@ -489,6 +489,8 @@ def highstate(test=None,
calling any states. This then returns a mocked return which will show
the requisite ordering as well as fully validate the state run.
.. versionadded:: 2015.8.4
CLI Example:
.. code-block:: bash
@ -634,6 +636,8 @@ def sls(mods,
calling any states. This then returns a mocked return which will show
the requisite ordering as well as fully validate the state run.
.. versionadded:: 2015.8.4
CLI Example:
.. code-block:: bash