spec/config/knife.rb in berkshelf-3.0.0.beta1 vs spec/config/knife.rb in berkshelf-3.0.0.beta2
- old
+ new
@@ -1,12 +1,10 @@
-current_dir = File.expand_path(File.dirname(__FILE__))
-
log_level :info
log_location STDOUT
node_name "berkshelf"
-client_key "#{current_dir}/berkshelf.pem"
+client_key File.expand_path("spec/config/berkshelf.pem")
validation_client_name "validator"
-validation_key "#{current_dir}/validator.pem"
+validation_key File.expand_path("spec/config/validator.pem")
chef_server_url "http://localhost:26310"
cache_type 'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path []