mardi 21 juin 2016

berkshelf + chef: could not find recipe server for cookbook mysql

I'm using vagrant (1.8.4) with Bookshelf.

Also I've installed plugins:

vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-cachier

Once running vagrant up I get:

==> default: ================================================================================
==> default: Recipe Compile Error
==> default: ================================================================================
==> default: 
==> default: Chef::Exceptions::RecipeNotFound
==> default: --------------------------------
==> default: could not find recipe server for cookbook mysql

Vagrantfile chunk:

  config.vm.provision "chef_solo" do |chef|
      chef.add_recipe "java"
      chef.add_recipe "maven"
      chef.add_recipe "postgresql::server"
      chef.add_recipe "mysql::server"
      chef.add_recipe "sqlite"
      chef.add_recipe "groovy"

Berksfile contents:

source "https://supermarket.getchef.com"

cookbook "java"
cookbook "postgresql"
cookbook "mysql"
cookbook "sqlite"
cookbook "maven"
cookbook "groovy"

I've seen this one: Chef mysql opscode-cookbooks desn't work: "could not find recipe ruby for cookbook mysql" but still it's unclear to me how to fix it in my use-case.

For full Vagrantfile contents, see: https://github.com/p6spy/p6spy/blob/master/Vagrantfile

How should I fix it?

Aucun commentaire:

Enregistrer un commentaire