Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Duplicate
-
Affects Version/s: 0.10.4
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Specifying a non-existent bootstrap template with '-d' will cause the following failure.
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:122:in `dirname': can't convert Array into String (TypeError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:122:in `load_template'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `find'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:121:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:121:in `find'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:121:in `load_template'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:194:in `ssh_command'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:176:in `knife_ssh'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife/bootstrap.rb:153:in `run'
from /usr/lib/ruby/gems/1.8/gems/knife-ec2-0.5.10/lib/chef/knife/ec2_server_create.rb:218:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife.rb:391:in `run_with_pretty_exceptions'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/knife.rb:166:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/application/knife.rb:128:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19
Issue Links
- duplicates
-
CHEF-2193
knife bootstrap - search for bootstrap templates in external knife plugins
-
Activity
- All
- Comments
- History
- Activity
- Transitions Summary
This is actually the bug fixed late in
CHEF-2193.See
CHEF-2808for the discussion