Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (37 sloc) 1.41 KB


Installs capistrano RubyGem and provides a definition to set up directory structure to perform capistrano deployment.

This cookbook is not necessary when using the Opscode application cookbook.


The default recipe merely installs the capistrano RubyGem.



The cap_setup definition will create the deployment directory structure for deploying applications with capistrano. For example to use the definition:

cap_setup "my_app" do
  path "/srv/my_app"
  owner "nobody"
  group "nogroup"
  appowner "nobody"

This will create the following directory structure:



Author:: Joshua Timberman (

Copyright 2009, 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.