Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use current directory instead of home

  • Loading branch information...
commit c9c9751e627d2f46fc52a5d667c3e1ea0883bc55 1 parent f095bcd
Matt Ray mattray authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 .chef/knife.rb
6 .chef/knife.rb
@@ -4,12 +4,12 @@
4 4 log_level :info
5 5 log_location STDOUT
6 6 node_name user
7   -client_key "#{ENV['HOME']}/.chef/#{user}.pem"
  7 +client_key "#{current_dir}/#{user}.pem"
8 8 validation_client_name "#{ENV['ORGNAME']}-validator"
9   -validation_key "#{ENV['HOME']}/.chef/#{ENV['ORGNAME']}-validator.pem"
  9 +validation_key "#{current_dir}/#{ENV['ORGNAME']}-validator.pem"
10 10 chef_server_url "https://api.opscode.com/organizations/#{ENV['ORGNAME']}"
11 11 cache_type 'BasicFile'
12   -cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
  12 +cache_options( :path => "#{current_dir}/checksums" )
13 13 cookbook_path ["#{current_dir}/../cookbooks"]
14 14
15 15 role_path ["#{current_dir}/../roles"]

0 comments on commit c9c9751

Please sign in to comment.
Something went wrong with that request. Please try again.