Skip to content

Instantly share code, notes, and snippets.

@jeslopcru
Last active January 4, 2016 12:38
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 jeslopcru/8622364 to your computer and use it in GitHub Desktop.
Save jeslopcru/8622364 to your computer and use it in GitHub Desktop.
knife configuration to use chef in windows
current_dir = File.dirname(__FILE__)
log_level :debug
log_location $stdout
node_name "jesuslc-admin"
client_key "#{File.dirname(current_dir)}/jesuslc-admin.pem"
chef_server_url "http://localhost:4000"
cache_type 'Memory'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path ["#{current_dir}/../cookbooks","#{current_dir}/../site-cookbooks"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment