mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
document args to file.check_file_meta exec fcn
This commit is contained in:
parent
679ba5ee0a
commit
6a3cb1c0aa
1 changed files with 31 additions and 0 deletions
|
@ -3337,6 +3337,37 @@ def check_file_meta(
|
|||
|
||||
Supported hash types include sha512, sha384, sha256, sha224, sha1, and
|
||||
md5.
|
||||
|
||||
name
|
||||
Path to file destination
|
||||
|
||||
sfn
|
||||
Template-processed source file contents
|
||||
|
||||
source
|
||||
URL to file source
|
||||
|
||||
source_sum
|
||||
File checksum information as a dictionary
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
{hash_type: md5, hsum: <md5sum>}
|
||||
|
||||
user
|
||||
Destination file user owner
|
||||
|
||||
group
|
||||
Destination file group owner
|
||||
|
||||
mode
|
||||
Destination file permissions mode
|
||||
|
||||
saltenv
|
||||
Salt environment used to resolve source files
|
||||
|
||||
contents
|
||||
File contents
|
||||
'''
|
||||
changes = {}
|
||||
if not source_sum:
|
||||
|
|
Loading…
Add table
Reference in a new issue