chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Resource::Deploy#create_dirs_before_symlink
An array of paths, relative to your app's root, where you expect dirs to exist before symlinking. This runs after #purge_before_symlink, so you can use this to recreate dirs that you had previously purged. For example, if you plan to use a shared directory for pids, and you want it to be located in $APP_ROOT/tmp/pids, you could purge tmp, then specify tmp here so that the tmp directory will exist when you symlink the pids directory in to the current release. Default: ["tmp", "public", "config"]
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/resource/deploy.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Resource--Deploy-create_dirs_before_symlink-for-pr
# Commit to gitgit add lib/chef/resource/deploy.rbgit commit -m "better docs for Chef::Resource::Deploy#create_dirs_before_symlink"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Resource--Deploy-create_dirs_before_symlink-for-pr
hub pull-request
# Celebrate!