chef

https://github.com/opscode/chef

Ruby

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

Chef::Knife::Bootstrap::ClientBuilder#client_path

Tempfile to use to write newly created client credentials to.

This method is public so that the knife bootstrapper can read then and pass the value into
the handler for chef vault which needs the client cert we create here.

We hang onto the tmpdir as an ivar as well so that it will not get GC'd and removed

Source | Google | Stack overflow

Edit

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

cd chef

open knife/lib/chef/knife/bootstrap/client_builder.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Knife--Bootstrap--ClientBuilder-client_path-for-pr


# Commit to git

git add knife/lib/chef/knife/bootstrap/client_builder.rbgit commit -m "better docs for Chef::Knife::Bootstrap::ClientBuilder#client_path"


# 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--Knife--Bootstrap--ClientBuilder-client_path-for-pr

hub pull-request


# Celebrate!