diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-11 09:08:27 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-12-11 09:08:27 -0800 |
commit | 7bcd87fa3256d5b8a6e669975d632eb60003426c (patch) | |
tree | 6811e6dea378086e31c47daae1524aa839fa8e1b /lib/chef/knife.rb | |
parent | 0388ad29f61e9816202b8b4ce5629511f48986e5 (diff) | |
parent | 8d718172dc3c1ce186f6e48efe514d7d566006cb (diff) | |
download | chef-7bcd87fa3256d5b8a6e669975d632eb60003426c.tar.gz |
Merge pull request #4273 from chef/jdm/default-auth-1.1
Use signing protocol 1.1 by default
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 5df24faa11..2820f58e85 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -385,12 +385,6 @@ class Chef Mixlib::Log::Formatter.show_time = false Chef::Log.init(Chef::Config[:log_location]) Chef::Log.level(Chef::Config[:log_level] || :error) - - if Chef::Config[:node_name] && Chef::Config[:node_name].bytesize > 90 - # node names > 90 bytes only work with authentication protocol >= 1.1 - # see discussion in config.rb. - Chef::Config[:authentication_protocol_version] = "1.1" - end end def configure_chef |