summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@opscode.com>2012-07-18 15:44:42 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-17 21:58:19 -0800
commitc9abfa4080b466f18a36923b8f08abae6ddf0ee4 (patch)
tree246468b0dc1e283a166335623c5e49cb4dbf82bd
parentcc2a097d3f12c14e9336f931d90228186b068990 (diff)
downloadchef-c9abfa4080b466f18a36923b8f08abae6ddf0ee4.tar.gz
OC-2192: change error message to suggest namespace collision between nodes and users
-rw-r--r--lib/chef/formatters/error_inspectors/api_error_formatting.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/formatters/error_inspectors/api_error_formatting.rb b/lib/chef/formatters/error_inspectors/api_error_formatting.rb
index cb64955961..1e4e258906 100644
--- a/lib/chef/formatters/error_inspectors/api_error_formatting.rb
+++ b/lib/chef/formatters/error_inspectors/api_error_formatting.rb
@@ -52,7 +52,8 @@ chef_server_url "#{server_url}"
node_name "#{username}"
client_key "#{api_key}"
-If these settings are correct, your client_key may be invalid.
+If these settings are correct, your client_key may be invalid, or
+you may have a chef user with the same client name as this node.
E
end
end