Closed scopenco closed 7 years ago
There is a problem if i try to use cookbooks:
to install last mysql-server version.
This recipe:
include_recipe 'yum-mysql-community::mysql56' mysql_service 'default' do package_version '5.6.32-2.el7' initial_root_password 'mypassword' action [:create, :start] end mysql2_chef_gem 'default' do provider Chef::Provider::Mysql2ChefGem::Mysql client_version '5.6.32-2.el7' action :install end
return error:
================================================================================ Error executing action `install` on resource 'yum_package[mysql-community-client]' ================================================================================ Chef::Exceptions::Package ------------------------- Installed package mysql-community-client-5.6.32-2.el7 is newer than candidate package mysql-community-client-5.6.29-2.el7
because mysql2_chef_gem use 'version' attribute in resource mysql_client instead of 'package_version' that should be used in mysql 8.0.0 cookbook.
mysql2_chef_gem
mysql_client
any updates?
This has been resolved on master
There is a problem if i try to use cookbooks:
to install last mysql-server version.
This recipe:
return error:
because
mysql2_chef_gem
use 'version' attribute in resourcemysql_client
instead of 'package_version' that should be used in mysql 8.0.0 cookbook.