Subversion was used widely before Git surfaced and became the ultimate standard for code repositories. However, even now, a lot of organizations use Subversion widely and require efficient management methods for deployments. In this recipe, you will learn about how to manage Subversion code repositories using Salt.
We will use the same minion and the state directory as the previous recipe. We will assume that a Subversion repository server has been set up and a user called
deploy is allowed to authenticate at the repository with the password
C00kbook. We will also assume that a repository called
apache-repo has been created and is available to check out at http://svnserver/svn/apache-repo: