The backed for the mercurial based file server system.
After enabling this backend, branches, bookmarks, and tags in a remote mercurial repository are exposed to salt as different environments. This feature is managed by the fileserver_backend option in the salt master config.
This fileserver has an additional option hgfs_branch_method that will set the desired branch method. Possible values are: branches, bookmarks, or mixed. If using branches or mixed, the default branch will be mapped to base.
depends: |
|
---|
Return a list of all directories on the master
Return a list of refs that can be used as environments
Return a file hash, the hash type is set in the master config file
Return a list of all files on the file server in a specified environment
Return a list of all empty directories on the master
Find the first file to match the path and ref, read the file out of hg and send the path to the newly cached file
Return the hg repo object for this session
Return a chunk from a file based on the data received
Execute a hg pull on all of the repos