diff --git a/modules/openstack_project/files/dashboard/mysqld_innodb_fpt.cnf b/modules/openstack_project/files/dashboard/mysqld_innodb_fpt.cnf new file mode 100644 index 0000000000..afb12bde12 --- /dev/null +++ b/modules/openstack_project/files/dashboard/mysqld_innodb_fpt.cnf @@ -0,0 +1,2 @@ +[mysqld] +innodb_file_per_table diff --git a/modules/openstack_project/manifests/dashboard.pp b/modules/openstack_project/manifests/dashboard.pp index 71881d51e0..144aff56c8 100644 --- a/modules/openstack_project/manifests/dashboard.pp +++ b/modules/openstack_project/manifests/dashboard.pp @@ -23,8 +23,12 @@ class openstack_project::dashboard( passenger => true, } - mysql::server::config { '50_innodb_file_per_table': - settings => '[mysqld]\ninnodb_file_per_table\n', + file { '/etc/mysql/conf.d/mysqld_innodb_fpt.cnf': + ensure => present, + source => + 'puppet://modules/openstack_project/dashboard/mysqld_innodb_fpt.cnf', + require => Class['mysql::server'], + notify => Service['mysql'], } }