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#symlink_before_migrate
A Hash of shared/dir/path => release/dir/path. This attribute determines
which files in the shared directory get symlinked to the current release
directory and where they go. Unlike map_shared_files, these are symlinked
*before* any migration is run.
For a rails/merb app, this is used to link in a known good database.yml
(with the production db password) before running migrate.
Default {"config/database.yml" => "config/database.yml"}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-symlink_before_migrate-for-pr
# Commit to gitgit add lib/chef/resource/deploy.rbgit commit -m "better docs for Chef::Resource::Deploy#symlink_before_migrate"
# 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-symlink_before_migrate-for-pr
hub pull-request
# Celebrate!