chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::LocalMode.with_server_connectivity
Create a chef local server (if the configuration requires one) for the
duration of the given block.
# This ...
with_server_connectivity { stuff }
# Is exactly equivalent to this ...
Chef::LocalMode.setup_server_connectivity
begin
stuff
ensure
Chef::LocalMode.destroy_server_connectivity
endEdit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/local_mode.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--LocalMode-with_server_connectivity-for-pr
# Commit to gitgit add lib/chef/local_mode.rbgit commit -m "better docs for Chef::LocalMode.with_server_connectivity"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--LocalMode-with_server_connectivity-for-pr
hub pull-request
# Celebrate!