Closed luis-alen closed 7 years ago
Hello, I still have this exception and I have
depends "mysql", ">= 6.0.21"
depends 'mysql2_chef_gem', ">= 1.0.1"
Has it been fixed?
@marcomancuso The correct syntax for that to work is below
depends 'mysql', '~> 7.2'
You'll need to add that to your metadata until they can get the pull request merged.
same issue here - upvoting 👍
Could you do a new release with the fix ? Thanks.
The same issue here
This has been fixed on master
Hello,
Today I was changing a few things on my devbox cookbook when the following error suddenly started to happen with the mysql2_chef_gem cookbook.
Option action must be equal to one of: nothing, install, delete! You passed :create
I've always used it as described in the docs and have never changed it:
Then I decided to create a completely fresh cookbok depending only on mysql2_chef_gem, nothing else. Same error happened when I executed the code above on the default recipe.
I believe it has something to do with dependency compatibility. This cookbook requires mysql >=6.0 and a new version of the mysql cookbook has just been released. Coincidently the error started to happen approximately at the same time berkshelf downloaded the new version of the mysql cookbook, 8.0.0.
Removing my Berksfile.lock and adding
depends 'mysql' '~> 7.2'
to my metadata.rb fixed the issue, but this is probably something you might wanna check...