From 2f141c5326dfb00f2fd10045112bf267ab8f7b53 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 Jan 2016 16:22:51 +1100 Subject: [PATCH] Rewrite use of ::mysql::server in zanata::mysql ::mysql::server has dropped use of config_hash to tune aspects of the deployed mysql service. Rewrite the class included inside zanata::mysql to use overrides. Change-Id: I6dae4744812dc2469afc947e272cc9aa14e70788 --- manifests/mysql.pp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/manifests/mysql.pp b/manifests/mysql.pp index 343737f..f18c5c5 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -26,12 +26,14 @@ class zanata::mysql( ) { class { '::mysql::server': - config_hash => { - 'root_password' => $mysql_root_password, - 'default_engine' => 'InnoDB', - 'bind_address' => $mysql_bind_address, - 'port' => $mysql_port, - } + root_password => $mysql_root_password, + override_options => { + 'mysqld' => { + 'default-storage-engine' => 'InnoDB', + 'bind-address' => $mysql_bind_address, + 'port' => $mysql_port, + } + }, } include ::mysql::server::account_security