Skip to content

Instantly share code, notes, and snippets.

@gildegoma
Created November 8, 2012 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gildegoma/4036994 to your computer and use it in GitHub Desktop.
Save gildegoma/4036994 to your computer and use it in GitHub Desktop.
Chef/Knife cheat sheet

Publish to community.opscode.com

Prerequisites:

  • clone opscode/chef-repo
  • setup .chef/knife.rb (private key file, ...)
  • (on mac, with only vagrant and chef-solo): mkdir /var/chef + chown it... (this is the temporary folder used by knife ... share)

Example:

knife cookbook site share "typesafe-stack" "Programming Languages" -VV -u gildegoma

Note: We upload of the cookbook tarball never worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment