Skip to content

Instantly share code, notes, and snippets.

@jamesbechet
Created June 30, 2014 10:00
Show Gist options
  • Select an option

  • Save jamesbechet/63a6cbcf2bef4d5a32eb to your computer and use it in GitHub Desktop.

Select an option

Save jamesbechet/63a6cbcf2bef4d5a32eb to your computer and use it in GitHub Desktop.
Run vagrant provision
==> default: Running provisioner: chef_solo...
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2014-06-30T09:59:33+00:00] INFO: *** Chef 10.14.2 ***
==> default: [2014-06-30T09:59:36+00:00] INFO: Setting the run_list to ["role[vagrant]"] from JSON
==> default: [2014-06-30T09:59:36+00:00] INFO: Run List is [role[vagrant]]
==> default: [2014-06-30T09:59:36+00:00] INFO: Run List expands to [root-ssh-agent::ppid, logrotate, memcached, gecko-common, gecko-infra::devbox, gecko-dev, geckoboard::packages, geckoboard::files, certificates::service_certificates, godzilla, ruby::install, redis-server, statsd::default, geckoboard::nginx, geckoboard::admin_tools, geckoboard::gemserver, gecko-widgets::app, geckoboard::app, geckoboard::geo-lookup-api, geckoboard::track, geckoboard::rails-app, geckoboard::bliss, geckoboard::extra_repositories, gecko-dev::ssh-config-ec2-hosts, gecko-dev::dev-database, gecko-dev::nginx-static]
==> default: [2014-06-30T09:59:36+00:00] INFO: Starting Chef Run for precise64
==> default: [2014-06-30T09:59:36+00:00] INFO: Running start handlers
==> default: [2014-06-30T09:59:36+00:00] INFO: Start handlers complete.
==> default:
==> default: ================================================================================
==> default: Recipe Compile Error in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/golang/attributes/default.rb
==> default: ================================================================================
==> default:
==> default: TypeError
==> default: ---------
==> default: can't convert nil into String
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/golang/attributes/default.rb:1:in `join'
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/golang/attributes/default.rb:1:in `from_file'
==> default:
==> default: Relevant File Content:
==> default: ----------------------
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/golang/attributes/default.rb:
==> default:
==> default: 1: go_path = File.join("/home", node[:user], node[:environment], "golang")
==> default: 2: set["golang"] = {
==> default: 3: "gopath" => {
==> default: 4: "root" => go_path,
==> default: 5: "src" => File.join(go_path, "src")
==> default: 6: },
==> default: 7: "initfile" => File.join("/etc", "profile.d", "100-gopath.sh"),
==> default: 8: "package" => {
==> default: 9: "root" => "https://gecko.static.s3.amazonaws.com/deb/",
==> default: [2014-06-30T09:59:38+00:00] ERROR: Running exception handlers
==> default: [2014-06-30T09:59:38+00:00] ERROR: Exception handlers complete
==> default: [2014-06-30T09:59:38+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2014-06-30T09:59:38+00:00] FATAL: TypeError: can't convert nil into String
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment