Skip to content

Instantly share code, notes, and snippets.

@anentropic
Created October 3, 2012 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anentropic/3828763 to your computer and use it in GitHub Desktop.
Save anentropic/3828763 to your computer and use it in GitHub Desktop.
recipe compile error
176.34.208.232 [2012-10-03T17:38:48+00:00] INFO: *** Chef 10.14.2 ***
176.34.208.232 [2012-10-03T17:38:50+00:00] INFO: Setting the run_list to ["role[base]", "role[apache_wsgi]", "role[db_server]", "role[rbx_web]", "role[encoder]"] from JSON
176.34.208.232 [2012-10-03T17:38:51+00:00] INFO: Run List is [role[base], role[apache_wsgi], role[db_server], role[rbx_web], role[encoder]]
176.34.208.232 [2012-10-03T17:38:51+00:00] INFO: Run List expands to [apt, git, mercurial, hosts, python, apache2, apache2::mod_wsgi, mysql::server, hacks, wsgi_apps::rbx, rabbitmq, rabbitmq::mgmt_console, celery, ffmpeg, ffmpeg2theora, wsgi_apps::enc]
176.34.208.232 [2012-10-03T17:38:51+00:00] INFO: Starting Chef Run for rbxdev-chef
176.34.208.232 [2012-10-03T17:38:51+00:00] INFO: Running start handlers
176.34.208.232 [2012-10-03T17:38:51+00:00] INFO: Start handlers complete.
176.34.208.232 [2012-10-03T17:38:52+00:00] INFO: Loading cookbooks [apache2, application, application_python, apt, aws, build-essential, celery, database, dmg, erlang, ffmpeg, ffmpeg2theora, git, gunicorn, hacks, hosts, libfdk_aac, libvpx, mercurial, mysql, openssl, postgresql, python, rabbitmq, runit, search, supervisor, wsgi_apps, x264, xfs, yum]
176.34.208.232 [2012-10-03T17:38:52+00:00] WARN: Missing gem 'right_aws'
176.34.208.232 [2012-10-03T17:38:54+00:00] INFO: Application light-weight resource already initialized -- overriding!
176.34.208.232 /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/resource.rb:768: warning: already initialized constant Application
176.34.208.232 [2012-10-03T17:38:54+00:00] INFO: Could not find previously defined grants.sql resource
176.34.208.232
176.34.208.232 ================================================================================
176.34.208.232
176.34.208.232 Recipe Compile Error in /var/chef/cache/cookbooks/hacks/recipes/default.rb
176.34.208.232
176.34.208.232 ================================================================================
176.34.208.232
176.34.208.232
176.34.208.232 TypeError
176.34.208.232
176.34.208.232 ---------
176.34.208.232
176.34.208.232 can't convert nil into String
176.34.208.232
176.34.208.232
176.34.208.232 Cookbook Trace:
176.34.208.232
176.34.208.232 ---------------
176.34.208.232
176.34.208.232 /var/chef/cache/cookbooks/hacks/recipes/ssh.rb:9:in `join'
176.34.208.232 /var/chef/cache/cookbooks/hacks/recipes/ssh.rb:9:in `from_file'
176.34.208.232 /var/chef/cache/cookbooks/hacks/recipes/default.rb:4:in `from_file'
176.34.208.232
176.34.208.232
176.34.208.232 Relevant File Content:
176.34.208.232
176.34.208.232 ----------------------
176.34.208.232
176.34.208.232 /var/chef/cache/cookbooks/hacks/recipes/ssh.rb:
176.34.208.232
176.34.208.232 9: ssh_dir = ::File.join("/home", node['user'], ".ssh")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment