Merge pull request #46925 from terminalmage/fix-file.patch-docstring

Remove reference to directory support in file.patch state
This commit is contained in:
Nicole Thomas 2018-04-06 09:54:46 -04:00 committed by GitHub
commit fc2f728665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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