Knife download in chef10


#1
Hello

I’d like to migrate to chef 11 from chef 10 and for this I use several links:

https://gist.github.com/hosh/5103957/raw/ebfcec9410edb2c7c99d5da35920ecc63b855eb9/chef-11-migration-draft.txt


http://docs.opscode.com/upgrade_server.html

However I don’t fully understand why do we need separate knife.rb just for knife download.
And knife download suprise me with strange behaviour:

knife download -c ~/chef-10/knife.rb transfer/
ERROR: Must specify either chef_repo_path or cookbook_path in Chef config file

knife download / -c chef-10/knife.rb --chef-repo-path repo/ --repo-mode everything
/home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/knife-essentials-1.5.3/lib/chef_fs/knife.rb:66:in block in configure_chef': undefined local variable or methodchef_repo_paths’ for #Chef::Knife::Download:0x0000000293e3e0 (NameError)
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/knife-essentials-1.5.3/lib/chef_fs/knife.rb:65:in each' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/knife-essentials-1.5.3/lib/chef_fs/knife.rb:65:inconfigure_chef’
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/chef-10.16.2/lib/chef/knife.rb:167:in run' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/chef-10.16.2/lib/chef/application/knife.rb:123:inrun’
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/gems/chef-10.16.2/bin/knife:25:in <top (required)>' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/bin/knife:19:inload’
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/bin/knife:19:in <main>' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/bin/ruby_noexec_wrapper:14:ineval’
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p194-perf/bin/ruby_noexec_wrapper:14:in `’

With default knife.rb I receive no errors, however no files were downloaded in specified directory.

mkdir transfer
knife download transfer # no files in transfer folder.

Thanks in advance