Set the mysql version for Ubuntu 18.04

The current mysql cookbook doesn't know the version it ships with
This commit is contained in:
Greg 2019-04-09 11:09:54 +02:00
parent 05adca7fb2
commit 2d18e4cd45
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ include_recipe 'logrotate'
# Install MySQL client (includes mysqldump)
mysql_client 'default' do
action :create
version '5.7' if node[:platform_version].to_f == 18.04
not_if { node["backup"]["mysql"]["databases"].empty? }
end