salt.states.svn

Manage SVN repositories

Manage repositiry checkouts via the svn vcs system:

http://unladen-swallow.googlecode.com/svn/trunk/:
  svn.latest:
    - target: /tmp/swallow
salt.states.svn.dirty(name, target, user=None, ignore_unversioned=False)

Determine if the working directory has been changed.

salt.states.svn.latest(name, target=None, rev=None, user=None, username=None, force=False, externals=True)

Checkout or update the working directory to the latest revision from the remote repository.

name
Address of the name repository as passed to "svn checkout"
target
Name of the target directory where the checkout will put the working directory
rev : None
The name revision number to checkout. Enable "force" if the directory already exists.
user : None
Name of the user performing repository management operations
username : None
The user to access the name repository with. The svn default is the current user
force : False
Continue if conflicts are encountered
externals : True
Change to False to not checkout or update externals

Table Of Contents

Previous topic

salt.states.supervisord

Next topic

salt.states.sysctl