diff options
author | James Michael DuPont <JamesMikeDuPont@gmail.com> | 2015-09-29 07:03:01 -0400 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-10-24 20:25:12 -0700 |
commit | 8b8e264e996c683b058a54f34ffd125229358337 (patch) | |
tree | aaa1a7ec76b4dae7ec553fbaba75a24f2995ed4d | |
parent | 51acd91fe175c9da0972c3172d3193f6eefb6af6 (diff) | |
download | chef-8b8e264e996c683b058a54f34ffd125229358337.tar.gz |
Update registration.rb
just output the abs path
-rw-r--r-- | lib/chef/api_client/registration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/api_client/registration.rb b/lib/chef/api_client/registration.rb index fbd9f1a85d..4882323293 100644 --- a/lib/chef/api_client/registration.rb +++ b/lib/chef/api_client/registration.rb @@ -69,7 +69,7 @@ class Chef def assert_destination_writable! if (File.exists?(destination) && !File.writable?(destination)) or !File.writable?(File.dirname(destination)) abs_path = File.expand_path(destination) - raise Chef::Exceptions::CannotWritePrivateKey, "I cannot write your private key to #{destination} (#{abs_path})- check permissions?" + raise Chef::Exceptions::CannotWritePrivateKey, "I can't write your private key to #{abs_path} - check permissions?" end end |