Manage repository checkouts via the svn vcs system. Note that subversion must
be installed for these states to be available, so svn states should include a
requisite to a pkg.installed state for the package which provides subversion
(subversion
in most cases). Example:
subversion:
pkg.installed
http://unladen-swallow.googlecode.com/svn/trunk/:
svn.latest:
- target: /tmp/swallow
salt.states.svn.
dirty
(name, target, user=None, username=None, password=None, ignore_unversioned=False)¶Determine if the working directory has been changed.
salt.states.svn.
export
(name, target=None, rev=None, user=None, username=None, password=None, force=False, overwrite=False, externals=True, trust=False, trust_failures=None)¶Export a file or directory from an SVN repository
Connect to the Subversion server with this password
New in version 0.17.0.
Comma-separated list of certificate trust failures, that shall be ignored. This can be used if trust=True is not sufficient. The specified string is passed to SVN's --trust-server-cert-failures option as-is.
New in version 2019.2.0.
salt.states.svn.
latest
(name, target=None, rev=None, user=None, username=None, password=None, force=False, externals=True, trust=False, trust_failures=None)¶Checkout or update the working directory to the latest revision from the remote repository.
Connect to the Subversion server with this password
New in version 0.17.0.
Comma-separated list of certificate trust failures, that shall be ignored. This can be used if trust=True is not sufficient. The specified string is passed to SVN's --trust-server-cert-failures option as-is.
New in version 2019.2.0.
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2019.2.1