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#symlinks

A Hash of shared/dir/path => release/dir/path. This attribute determines
which files and dirs in the shared directory get symlinked to the current
release directory, and where they go. If you have a directory
$shared/pids that you would like to symlink as $current_release/tmp/pids
you specify it as "pids" => "tmp/pids"
Default {"system" => "public/system", "pids" => "tmp/pids", "log" => "log"}

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/resource/deploy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Resource--Deploy-symlinks-for-pr


# Commit to git

git add lib/chef/resource/deploy.rbgit commit -m "better docs for Chef::Resource::Deploy#symlinks"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--Resource--Deploy-symlinks-for-pr

hub pull-request


# Celebrate!