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

An array of paths, relative to your app's root, to be purged from a
SCM clone/checkout before symlinking. Use this to get rid of files and
directories you want to be shared between releases.
Default: ["log", "tmp/pids", "public/system"]

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-purge_before_symlink-for-pr


# Commit to git

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


# 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-purge_before_symlink-for-pr

hub pull-request


# Celebrate!