From 2d18e4cd452d63238ab2016d19eb773281672fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 9 Apr 2019 11:09:54 +0200 Subject: [PATCH] Set the mysql version for Ubuntu 18.04 The current mysql cookbook doesn't know the version it ships with --- site-cookbooks/backup/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/backup/recipes/default.rb b/site-cookbooks/backup/recipes/default.rb index 4123e4d..dd76761 100644 --- a/site-cookbooks/backup/recipes/default.rb +++ b/site-cookbooks/backup/recipes/default.rb @@ -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