jkeiser / knife-essentials

Knife commands to treat the Chef server like a filesystem
Apache License 2.0
81 stars 26 forks source link

knife upload cookbooks --purge fails ungracefully #71

Closed timops closed 11 years ago

timops commented 11 years ago

/Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:219:in copy_entries': undefined methoddelete' for #ChefFS::FileSystem::CookbookDir:0x007ff12d2757b0 (NoMethodError) from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:287:in block in copy_entries' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:286:ineach' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:286:in copy_entries' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:102:inblock in copy_to' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:130:in block in list_pairs' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:16:incall' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:16:in list' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:28:inlist' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:127:in list_pairs' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef_fs/file_system.rb:99:incopy_to' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef/knife/upload.rb:41:in block in run' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef/knife/upload.rb:40:ineach' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/knife-essentials-0.7.6/lib/chef/knife/upload.rb:40:in run' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/chef-10.16.2/lib/chef/knife.rb:408:inrun_with_pretty_exceptions' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/chef-10.16.2/lib/chef/knife.rb:168:in run' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/chef-10.16.2/lib/chef/application/knife.rb:123:inrun' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/gems/chef-10.16.2/bin/knife:25:in <top (required)>' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/bin/knife:19:inload' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/bin/knife:19:in <main>' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:ineval' from /Users/timgreen/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `

'

jkeiser commented 11 years ago

FYI, I'm looking at this bug for Chef 11.

jkeiser commented 11 years ago

Fixed in said commit.