- If I comment out https://github.com/passionengine/ii/blob/master/site-cookbooks/unattended/recipes/default.rb#L141 I get the following error
- [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: Saving node information to /var/cache/chef/failed-run-data.json
- [Tue, 30 Aug 2011 06:08:48 +1200] ERROR: Exception handlers complete
- [Tue, 30 Aug 2011 06:08:48 +1200] DEBUG: Re-raising exception: TypeError - Symbol as array index
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `[]'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `from_file'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `each'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `from_file'
- /usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
- /usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
- /usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
- /usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
- /usr/bin/chef-client:25
- [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
- [Tue, 30 Aug 2011 06:08:48 +1200] DEBUG: TypeError: Symbol as array index
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `[]'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `from_file'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `each'
- /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `from_file'
- /usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
- /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
- /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
- /usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
- /usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
- /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
- /usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
- /usr/bin/chef-client:25
- [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: TypeError: Symbol as array index