From 232747fe3b4588a0fa9a81f570a35e963a6c0e67 Mon Sep 17 00:00:00 2001 From: Anita Kuno Date: Wed, 13 Mar 2013 12:39:54 -0400 Subject: [PATCH] Added configuration to change default db config to file-per-table config. This is directed toward InnoDB. It appears there is an assumption that puppet-dashboard should be running in non-transaction safe mode, which is the default. This resolves the dependency for that assumption. Change-Id: I50dabea856f38fa6e8d4d3c589eb98f12a22457a Reviewed-on: https://review.openstack.org/24334 Reviewed-by: Khai Do Reviewed-by: James E. Blair Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- modules/openstack_project/manifests/dashboard.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openstack_project/manifests/dashboard.pp b/modules/openstack_project/manifests/dashboard.pp index 061e5b4fca..060e12d8c0 100644 --- a/modules/openstack_project/manifests/dashboard.pp +++ b/modules/openstack_project/manifests/dashboard.pp @@ -21,6 +21,10 @@ class openstack_project::dashboard( mysql_root_pw => $mysql_password, passenger => true, } + + mysql::server::config { '50_innodb_file_per_table': + settings => '[mysqld]\ninnodb_file_per_table\n', + } } # vim:sw=2:ts=2:expandtab:textwidth=79