diff options
author | tylercloke <tylercloke@gmail.com> | 2015-06-02 11:15:32 -0700 |
---|---|---|
committer | tylercloke <tylercloke@gmail.com> | 2015-06-05 10:38:49 -0700 |
commit | a929c389252d5da4c3ddc2f0cce10e43e6dc19ab (patch) | |
tree | f91aa4d30ddf13c040d507e5baa68dc5c9f751c2 /lib/chef/mixin | |
parent | fb73d4ae3a0c20a3c0dfa5a85b652b8f0cba5a32 (diff) | |
download | chef-a929c389252d5da4c3ddc2f0cce10e43e6dc19ab.tar.gz |
Reregister V0 support for Chef::Client.
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/api_version_request_handling.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chef/mixin/api_version_request_handling.rb b/lib/chef/mixin/api_version_request_handling.rb index a818ba2a14..851bcb4968 100644 --- a/lib/chef/mixin/api_version_request_handling.rb +++ b/lib/chef/mixin/api_version_request_handling.rb @@ -46,5 +46,14 @@ class Chef true end + def reregister_only_v0_supported_error_msg(max_version, min_version) +<<-EOH +The reregister command only supports server API version 0. +The server that received the request supports a min version of #{min_version} and a max version of #{max_version}. +User keys are now managed via the key rotation commmands. +Please refer to the documentation on how to manage your keys via the key rotation commands. +EOH + end + end end |