cookbook 'subversion', '= 1.0.2', :supermarket
cookbook 'subversion', '= 1.0.2'
knife supermarket install subversion
knife supermarket download subversion
Installs subversion for clients or sets up a server under Apache HTTPD.
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.
Sets up an SVN repository server with
This will use the
web_app definition from the apache cookbook to
drop off the template, and uses the attributes for configuration.
On nodes where
subversion should be installed such as application
servers that will check out a repository, use
you would like a subversion server, use
You should override
node['subversion']['password'] in the role that
applies the server recipe.
License and Author
Copyright:: 2008-2011, Opscode, 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
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.