mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Finish the docstring for git.cloned state
This commit is contained in:
parent
4a8260a5e5
commit
8da6ce45dc
1 changed files with 29 additions and 0 deletions
|
@ -2704,6 +2704,35 @@ def cloned(name,
|
|||
fetched. If your use case requires that you keep the clone up to
|
||||
date with the remote repository, then consider using
|
||||
:py:func:`git.latest <salt.states.git.latest>`.
|
||||
|
||||
user
|
||||
User under which to run git commands. By default, commands are run by
|
||||
the user under which the minion is running.
|
||||
|
||||
password
|
||||
Windows only. Required when specifying ``user``. This parameter will be
|
||||
ignored on non-Windows platforms.
|
||||
|
||||
identity
|
||||
Path to a private key to use for ssh URLs. Works the same way as in
|
||||
:py:func:`git.latest <salt.states.git.latest>`, see that state's
|
||||
documentation for more information.
|
||||
|
||||
https_user
|
||||
HTTP Basic Auth username for HTTPS (only) clones
|
||||
|
||||
https_pass
|
||||
HTTP Basic Auth password for HTTPS (only) clones
|
||||
|
||||
output_encoding
|
||||
Use this option to specify which encoding to use to decode the output
|
||||
from any git commands which are run. This should not be needed in most
|
||||
cases.
|
||||
|
||||
.. note::
|
||||
This should only be needed if the files in the repository were
|
||||
created with filenames using an encoding other than UTF-8 to handle
|
||||
Unicode characters.
|
||||
'''
|
||||
ret = {'name': name, 'result': False, 'comment': '', 'changes': {}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue