From 07f02e7c5676a49682c60e59a60c6331114b55aa Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Wed, 16 Feb 2022 21:54:03 +0000 Subject: [PATCH] Fixed mysql config file --- manifests/db_server.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/db_server.pp b/manifests/db_server.pp index 35edb6e..19e3c3c 100644 --- a/manifests/db_server.pp +++ b/manifests/db_server.pp @@ -128,7 +128,8 @@ class { ::mysql::server: restart => true, root_password => $mysql_root_password, - create_root_my_cnf => '/my.cnf', + config_file => '/my.cnf', + create_root_my_cnf => true, override_options => { 'mysqld' => { 'default-storage-engine' => 'innodb', 'character-set-server' => 'utf8', } @@ -139,7 +140,8 @@ class { ::mysql::server: restart => true, root_password => $mysql_root_password, - create_root_my_cnf => '/my.cnf', + config_file => '/my.cnf', + create_root_my_cnf => true, override_options => { 'mysqld' => { 'default-storage-engine' => 'innodb', 'character-set-server' => 'utf8',