Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

FATAL: Chef::Exceptions::CookbookNotFound: #4

Closed
nicolechung opened this issue Sep 10, 2012 · 3 comments
Closed

FATAL: Chef::Exceptions::CookbookNotFound: #4

nicolechung opened this issue Sep 10, 2012 · 3 comments

Comments

@nicolechung
Copy link

After installing bundler:

vagrant up
[database] VM already created. Booting if it's not already running...
[database] Clearing any previously set forwarded ports...
[database] Forwarding ports...
[database] -- 22 => 2222 (adapter 1)
[database] -- 5432 => 5434 (adapter 1)
[database] -- 80 => 8084 (adapter 1)
[database] Creating shared folders metadata...
[database] Clearing any previously set network interfaces...
[database] Booting VM...
[database] Waiting for VM to boot. This can take a few minutes.
[database] VM booted and ready for use!
[database] Detected Virtualbox Guest Additions 4.1.18 --- OK.
[database] Mounting shared folders...
[database] -- v-root: /vagrant
[database] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[database] -- v-csc-2: /tmp/vagrant-chef-1/chef-solo-2/cookbooks
[database] Running provisioner: Vagrant::Provisioners::ChefSolo...
[database] Generating chef JSON and uploading...
[database] Running chef-solo...
stdin: is not a tty
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: *** Chef 0.10.10 ***
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Setting the run_list to ["recipe[apt]", "recipe[build-essential]", "recipe[postgresql::apt_postgresql_ppa]", "recipe[postgresql::server]", "recipe[phppgadmin]"] from JSON
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Run List is [recipe[apt], recipe[build-essential], recipe[postgresql::apt_postgresql_ppa], recipe[postgresql::server], recipe[phppgadmin]]
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Run List expands to [apt, build-essential, postgresql::apt_postgresql_ppa, postgresql::server, phppgadmin]
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Starting Chef Run for lucid64
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Running start handlers
[Mon, 10 Sep 2012 14:52:06 +0200] INFO: Start handlers complete.
[Mon, 10 Sep 2012 14:52:06 +0200] ERROR: Running exception handlers
[Mon, 10 Sep 2012 14:52:06 +0200] ERROR: Exception handlers complete
[Mon, 10 Sep 2012 14:52:06 +0200] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Mon, 10 Sep 2012 14:52:06 +0200] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook postgresql not found. If you're loading postgresql from another cookbook, make sure you configure the dependency in your metadata
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Link looks correct in the cookbook, so I am not sure where to start:

cookbook 'postgresql',
  :git => 'git://github.com/scottmuc/chef-postgresql.git'
@scottmuc
Copy link
Owner

I'm thinking I've made this too complicated. I'm going to ditch the Cheffile and Gemfile. I'll let you know when there's a new version out that might fix some of the weird little issues.

@scottmuc
Copy link
Owner

scottmuc commented Dec 5, 2012

Hi Nicole, I hope this latest version fixes your issues. I would recommend removing everything you had before and cloning fresh. I've removed the ruby dependency because that's implicitly handled by the Vagrant package now.

@nicolechung
Copy link
Author

Great, thanks!

On 4 December 2012 20:00, Scott Muc [email protected] wrote:

Hi Nicole, I hope this latest version fixes your issues. I would recommend
removing everything you had before and cloning fresh. I've removed the ruby
dependency because that's implicitly handled by the Vagrant package now.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-11023131.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants