Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use current directory instead of home

  • Loading branch information...
commit c9c9751e627d2f46fc52a5d667c3e1ea0883bc55 1 parent f095bcd
@mattray mattray authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 .chef/knife.rb
View
6 .chef/knife.rb
@@ -4,12 +4,12 @@
log_level :info
log_location STDOUT
node_name user
-client_key "#{ENV['HOME']}/.chef/#{user}.pem"
+client_key "#{current_dir}/#{user}.pem"
validation_client_name "#{ENV['ORGNAME']}-validator"
-validation_key "#{ENV['HOME']}/.chef/#{ENV['ORGNAME']}-validator.pem"
+validation_key "#{current_dir}/#{ENV['ORGNAME']}-validator.pem"
chef_server_url "https://api.opscode.com/organizations/#{ENV['ORGNAME']}"
cache_type 'BasicFile'
-cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
+cache_options( :path => "#{current_dir}/checksums" )
cookbook_path ["#{current_dir}/../cookbooks"]
role_path ["#{current_dir}/../roles"]
Please sign in to comment.
Something went wrong with that request. Please try again.