Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 13th, 2012  |  syntax: None  |  size: 3.05 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. If I comment out https://github.com/passionengine/ii/blob/master/site-cookbooks/unattended/recipes/default.rb#L141 I get the following error
  3.  
  4.  
  5. [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: Saving node information to /var/cache/chef/failed-run-data.json
  6. [Tue, 30 Aug 2011 06:08:48 +1200] ERROR: Exception handlers complete
  7. [Tue, 30 Aug 2011 06:08:48 +1200] DEBUG: Re-raising exception: TypeError - Symbol as array index
  8. /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `[]'
  9.   /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `from_file'
  10.   /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `each'
  11.   /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `from_file'
  12.   /usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
  13.   /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
  14.   /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
  15.   /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
  16.   /usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
  17.   /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
  18.   /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
  19.   /usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
  20.   /usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
  21.   /usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
  22.   /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
  23.   /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
  24.   /usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
  25.   /usr/bin/chef-client:25
  26. [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
  27. [Tue, 30 Aug 2011 06:08:48 +1200] DEBUG: TypeError: Symbol as array index
  28. /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `[]'
  29. /var/cache/chef/cookbooks/unattended/recipes/default.rb:142:in `from_file'
  30. /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `each'
  31. /var/cache/chef/cookbooks/unattended/recipes/default.rb:139:in `from_file'
  32. /usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
  33. /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
  34. /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
  35. /usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
  36. /usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
  37. /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
  38. /usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
  39. /usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
  40. /usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
  41. /usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
  42. /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
  43. /usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
  44. /usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
  45. /usr/bin/chef-client:25
  46. [Tue, 30 Aug 2011 06:08:48 +1200] FATAL: TypeError: Symbol as array index