Created
August 20, 2010 21:04
-
-
Save whiteley/541183 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fri, 20 Aug 2010 16:33:57 -0400] INFO: Starting Chef Run | |
[Fri, 20 Aug 2010 16:34:03 -0400] ERROR: template[/etc/ssh/ssh_known_hosts] (/var/cache/chef/cookbooks/ssh_known_hosts/recipes/default.rb:13:in `from_file') had an error: | |
Chef::Mixin::Template::TemplateError (undefined method `[]' for nil:NilClass) on line #3: | |
1: # THIS FILE IS MAINTAINED BY CHEF, DO NOT MODIFY AS IT WILL BE OVERWRITTEN | |
2: <% @nodes.each do |n| -%> | |
3: <%= n['hostname'] %>,<%= n['ipaddress'] %> ssh-rsa <%= n['keys']['ssh']['host_rsa_public'] %> | |
4: <%= n['hostname'] %>,<%= n['ipaddress'] %> ssh-dsa <%= n['keys']['ssh']['host_dsa_public'] %> | |
5: <% end -%> | |
(erubis):3:in `evaluate' | |
(erubis):2:in `each' | |
(erubis):2:in `evaluate' | |
/usr/lib/ruby/gems/1.8/gems/erubis-2.6.5/lib/erubis/evaluator.rb:74:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/erubis-2.6.5/lib/erubis/evaluator.rb:74:in `evaluate' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/template.rb:41:in `render_template' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/template.rb:144:in `render_with_context' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/template.rb:46:in `action_create' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:50:in `send' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:50:in `run_action' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:107:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in `each' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:80:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/client.rb:334:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/client.rb:108:in `run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/client.rb:215:in `run_application' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/client.rb:207:in `loop' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/client.rb:207:in `run_application' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application.rb:62:in `run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/chef-client:26 | |
/usr/bin/chef-client:19:in `load' | |
/usr/bin/chef-client:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment