Skip to content

Instantly share code, notes, and snippets.

@brettcave
Created June 11, 2014 10:44
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 brettcave/d5e2cff23add5a76464c to your computer and use it in GitHub Desktop.
Save brettcave/d5e2cff23add5a76464c to your computer and use it in GitHub Desktop.
$ cat runner.sh
cd /opt/chef-zero
chef-client -z -c solo.rb -o 'role[someRole]' -E BUILD > chef-zero.log 2>&1
$ cat chef-zero.log
[2014-06-11T10:31:28+00:00] INFO: Auto-discovered chef repository at /opt/chef-zero
[2014-06-11T10:31:29+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/chef-zero
One version per cookbook
[2014-06-11T10:31:29+00:00] INFO: Forking chef instance to converge...
[2014-06-11T10:31:29+00:00] ERROR: undefined method `[]' for nil:NilClass
[2014-06-11T10:31:29+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment