chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Shell::DoppelGangerClient#run_ohai

Run the very smallest amount of ohai we can get away with and still
hope to have things work. Otherwise we're not very good doppelgangers

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/shell/shell_session.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Shell--DoppelGangerClient-run_ohai-for-pr


# Commit to git

git add lib/chef/shell/shell_session.rbgit commit -m "better docs for Shell::DoppelGangerClient#run_ohai"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Shell--DoppelGangerClient-run_ohai-for-pr

hub pull-request


# Celebrate!