mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #46925 from terminalmage/fix-file.patch-docstring
Remove reference to directory support in file.patch state
This commit is contained in:
commit
fc2f728665
@ -5021,15 +5021,13 @@ def patch(name,
|
|||||||
dry_run_first=True,
|
dry_run_first=True,
|
||||||
**kwargs):
|
**kwargs):
|
||||||
'''
|
'''
|
||||||
Apply a patch to a file or directory.
|
Ensure that a patch has been applied to the specified file
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
A suitable ``patch`` executable must be available on the minion
|
||||||
A suitable ``patch`` executable must be available on the minion when
|
|
||||||
using this state function.
|
|
||||||
|
|
||||||
name
|
name
|
||||||
The file or directory to which the patch will be applied.
|
The file to which the patch should be applied
|
||||||
|
|
||||||
source
|
source
|
||||||
The source patch to download to the minion, this source file must be
|
The source patch to download to the minion, this source file must be
|
||||||
|
Loading…
Reference in New Issue
Block a user