Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created January 20, 2013 18:01
Show Gist options
  • Select an option

  • Save danielsdeleo/4580320 to your computer and use it in GitHub Desktop.

Select an option

Save danielsdeleo/4580320 to your computer and use it in GitHub Desktop.
Quick Chef Hacking

Quick Chef Hacking

chef-apply is coming in Chef 11. Until then, here's what I do.

solo.rb

cookbook_path "/tmp/cookbooks"

Cookbook Dir

mkdir -p /tmp/cookbooks/test/recipes/

Hack

vim /tmp/cookbooks/test/recipes/default.rb

Run

chef-solo -c /tmp/solo.rb -o test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment