Remove reference to directory support in file.patch state

The state was not written to support patching a directory, though the
file.patch remote execution function does support patching a directory.
This was likely just due to a careless copypasta from the remote
execution function's docstring to the state function's.
This commit is contained in:
Erik Johnson 2018-04-06 06:27:47 -05:00
parent d0f5b43753
commit 97695657f0
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -5021,15 +5021,13 @@ def patch(name,
dry_run_first=True,
**kwargs):
'''
Apply a patch to a file or directory.
Ensure that a patch has been applied to the specified file
.. note::
A suitable ``patch`` executable must be available on the minion when
using this state function.
A suitable ``patch`` executable must be available on the minion
name
The file or directory to which the patch will be applied.
The file to which the patch should be applied
source
The source patch to download to the minion, this source file must be