Permalink
Browse files

use current directory instead of home

  • Loading branch information...
1 parent f095bcd commit c9c9751e627d2f46fc52a5d667c3e1ea0883bc55 @mattray mattray committed Jul 27, 2012
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"]

0 comments on commit c9c9751

Please sign in to comment.