Skip to content

Instantly share code, notes, and snippets.

@tily
Created October 21, 2012 07:51
Show Gist options
  • Save tily/3926265 to your computer and use it in GitHub Desktop.
Save tily/3926265 to your computer and use it in GitHub Desktop.
カレントディレクトリで chef-solo や knife を使うための設定ファイル
base_path = File.absolute_path(File.dirname(__FILE__))
file_cache_path base_path
cookbook_path File.join(base_path, 'cookbooks')
role_path File.join(base_path, 'roles')
data_bag_path File.join(base_path, 'data_bags')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment