Subversion Fileserver Backend
After enabling this backend, branches, and tags in a remote subversion repository are exposed to salt as different environments. This feature is managed by the fileserver_backend option in the salt master config.
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.
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 of svn standard practices.
Return the list of svn remotes and their configuration information
Purge the fileserver cache
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 salt.rtfd.org.
Latest Salt release: 2014.7.2
22.15. Salt code and internals
Upcoming SaltStack events, webinars and local meet ups and user groups.