Closed oradwell closed 8 years ago
See my response in https://github.com/chef-cookbooks/mysql/issues/471
@wilb #471 doesn't say anything about 5.5.
Same issue is what I meant. I've opened a PR with the new packages https://github.com/chef-cookbooks/mysql/pull/474
@wilb I modified my code as below,
mysql_client 'default' do
package_version '5.5.52-0ubuntu0.12.04.1'
version '5.5'
action :create
end
It still gives same error message.
Are you using the mysql2_chef_gem cookbook? That uses the mysql_client resource without a package_version so will hit the same error...
Yes I am using mysql2_chef_gem. So I need to wait until this PR gets merged?
Yeah, or temporarily reference my branch in your Berksfile.
@tas50 already merged the 16.04 updates before I had chance to send the others through - hopefully he'll pull the others in soon.
Thanks that will help. Are you going to create a PR for 5.5 and ubuntu14.04? I was thinking otherwise I can make change and create a PR.
5.5 for 12.04 + 14.04 are part of the same PR. Just realised there is 5.6 in 14.04 too though - will add that now.
Thing here is, I am using mysql2_chef_gem but it doesn't fail there. It fails before that when I do the mysql-client call which I posted above. I removed everything which was related to mysq2_che_gem still it failed.
Actually I don't think there is a new version of 5.6 in 14.04
apt-cache show mysql-client-5.6 | grep Version
Version: 5.6.31-0ubuntu0.14.04.2
The tests pass for 12.04 with the updated version:
kitchen test installation-client-package-55-ubuntu-1204
-----> Verifying /home/wilb/git/mysql/test/integration/installation_client_package-55
for testing
Command /usr/bin/mysql --version exit_status should eq 0 stdout should match /Distrib 5.5/
Finished in 0.04663 seconds (files
@wilb Thanks for reporting issue and PR. Saved a ton of time.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Cookbook version
8.0.2
Chef-client version
12.10.24
Platform Details
Ubuntu 14.04
Scenario:
Install MySQL 5.5
Steps to Reproduce:
Expected Result:
MySQL to be installed successfully
Actual Result: