Skip to content

Commit

Permalink
Merge pull request #49864 from terminalmage/docs
Browse files Browse the repository at this point in the history
Document behavior change in file.rename state
  • Loading branch information
Nicole Thomas authored Oct 2, 2018
2 parents 014078d + ed4ef7c commit 2ba7c71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/topics/releases/neon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@ New output:
0
State Changes
=============

- The :py:func:`file.rename <salt.states.file.rename>` state will now return a
``True`` result (and make no changes) when the destination file already
exists, and ``Force`` is not set to ``True``. In previous releases, a
``False`` result would be returned, but this meant that subsequent runs of
the state would fail due to the destination file being present.

- The ``onchanges`` and ``prereq`` :ref:`requisites <requisites>` now behave
properly in test mode.

Salt Cloud Features
===================

Expand Down

0 comments on commit 2ba7c71

Please sign in to comment.