Development repository for Chef Cookbook subversion
Ruby HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.delivery
.github
attributes
recipes
spec
templates/default
test/integration
.gitignore
.kitchen.dokken.yml
.kitchen.yml
.travis.yml
Berksfile
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE
README.md
TESTING.md
chefignore
metadata.rb

README.md

subversion Cookbook

Build Status Cookbook Version

Installs subversion for clients or sets up a server under Apache HTTPD.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle
  • Fedora
  • Windows

Chef

  • Chef 12.1+

Cookbooks

  • apache2
  • windows

Attributes

See attributes/default.rb for default values. The attributes are used in the server recipe.

  • node['subversion']['repo_dir'] - filesystem location of the repository to serve.

  • node['subversion']['repo_name'] - name of the repository to serve up.

  • node['subversion']['server_name'] - server name used in the svn vhost.

  • node['subversion']['user'] - user to log into the svn vhost.

  • node['subversion']['password'] - htpasswd for the subversion user in the server recipe. This should be overridden as the default is not secure.

  • node['subversion']['list_parent_path'] - a choice of "on" or "off". When set to "on" the list of repositories in the node['subversion']['repo_dir'] will be indexed at http://

    <server_name>/svn. Default is "off"</server_name>

Recipes

default

Includes recipe[subversion::client].

client

Installs subversion packages.

server

Sets up an SVN repository server with recipe[apache2::mod_dav_svn]. This will use the web_app definition from the apache cookbook to drop off the template, and uses the attributes for configuration.

Usage

On nodes where subversion should be installed such as application servers that will check out a repository, use recipe[subversion]. If you would like a subversion server, use recipe[subversion::server]. You should override node['subversion']['password'] in the role that applies the server recipe.

Maintainers

This cookbook is maintained by Chef's Community Cookbook Engineering team. Our goal is to improve cookbook quality and to aid the community in contributing to cookbooks. To learn more about our team, process, and design goals see our team documentation. To learn more about contributing to cookbooks like this see our contributing documentation, or if you have general questions about this cookbook come chat with us in #cookbok-engineering on the Chef Community Slack

License

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2008-2016, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.