Vagrant-LAMP-Stack
Vagrant-LAMP-Stack copied to clipboard
could not find recipe server for cookbook mysql
After running vagrant up
I get an error about mysql cookbook, but I don't know how to fix it.
==> projectname: Recipe Compile Error
==> projectname: ================================================================================
==> projectname:
==> projectname: Chef::Exceptions::RecipeNotFound
==> projectname: --------------------------------
==> projectname: could not find recipe server for cookbook mysql
==> projectname:
==> projectname: [2015-01-30T07:51:08+00:00] ERROR: Running exception handlers
==> projectname: [2015-01-30T07:51:08+00:00] ERROR: Exception handlers complete
==> projectname: [2015-01-30T07:51:08+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
I also got this issue.
Solution is to:
lock the cookbook versions in metadata.rb:
depends 'mysql', '~> 5.0'
delete the Berksfile.lock
then vagrant up --provision