Skip to content

Instantly share code, notes, and snippets.

@phunehehe
Created August 28, 2012 04:59
Show Gist options
  • Save phunehehe/3495080 to your computer and use it in GitHub Desktop.
Save phunehehe/3495080 to your computer and use it in GitHub Desktop.
solo.rb that knows where it is
chef_dir = File.expand_path(File.dirname(__FILE__))
cookbook_path [
"#{chef_dir}/chef-cookbooks",
"#{chef_dir}/site-cookbooks",
]
role_path "#{chef_dir}/chef-repo/roles"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment