chrisroberts / vagabond

Advocating idleness and work-shyness
Other
233 stars 25 forks source link

chef-zero bootstrap broken (dev branch) #33

Closed spheromak closed 11 years ago

spheromak commented 11 years ago

looks like dev is borked when trying to bootstrap chef-zero. Missing apt cookbook (ubuntu 12.04)

10.0.3.24 Starting Chef Client, version 11.4.4
10.0.3.24 Compiling Cookbooks...
10.0.3.24 [2013-07-16T00:26:26+00:00] ERROR: Running exception handlers
10.0.3.24 [2013-07-16T00:26:26+00:00] ERROR: Exception handlers complete
10.0.3.24 Chef Client failed. 0 resources updated
10.0.3.24 [2013-07-16T00:26:26+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
10.0.3.24 [2013-07-16T00:26:26+00:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook apt not found. If you're loading apt from another cookbook, make sure you configure the dependency in your metadata
STDERR: 
---- End output of sudo knife bootstrap 10.0.3.24 --template-file /home/user/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/bundler/gems/vagabond-8d40f9dfd696/lib/vagabond/bootstraps/server-zero.erb -i /opt/hw-lxc-config/id_rsa ----
Ran sudo knife bootstrap 10.0.3.24 --template-file /home/user/.rbenv/versions/1.9.3-p429/lib/ruby/gems/1.9.1/bundler/gems/vagabond-8d40f9dfd696/lib/vagabond/bootstraps/server-zero.erb -i /opt/hw-lxc-config/id_rsa returned 1
chrisroberts commented 11 years ago

Update your bundle and see if that fixes it. I had a local commit I hadn't pushed from over the weekend that should resolve the issue.

spheromak commented 11 years ago

this was after a bundle update. Just updated again to make sure and same issue.

chrisroberts commented 11 years ago

Manual dependency resolution is for chumps (and vagabond is now no longer a chump :D )

Current develop is using librarian for resolving cookbooks and the bootstrap is now syncing these to the node, so this should clear things up. Provision of zero and erchef were good here so let me know if you are still having issues.

chrisroberts commented 11 years ago

Marking as fixed. Reopen if you still have issues :)