mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
d0f5b43753
commit
97695657f0
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue