Subversion Fileserver Backend
After enabling this backend, branches, and tags in a remote subversion repository are exposed to salt as different environments. To enable this backend, add svn to the fileserver_backend option in the Master config file.
fileserver_backend:
- svn
This backend assumes a standard svn layout with directories for branches, tags, and trunk, at the repository root.
depends: |
|
---|
Changed in version 2014.7.0: The paths to the trunk, branches, and tags have been made configurable, via the config options svnfs_trunk, svnfs_branches, and svnfs_tags. svnfs_mountpoint was also added. Finally, support for per-remote configuration parameters was added. See the documentation for more information.
Completely clear svnfs cache
Clear update.lk
remote can either be a dictionary containing repo configuration information, or a pattern. If the latter, then remotes for which the URL matches the pattern will be locked.
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. This operates similarly to the roots file sever but with assumptions of the directory structure based on svn standard practices.
Return the list of svn remotes and their configuration information
Place an update.lk
remote can either be a dictionary containing repo configuration information, or a pattern. If the latter, then remotes for which the URL matches the pattern will be locked.
Return a chunk from a file based on the data received
Execute an svn update on all of the repos
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2015.5.2