Anita Kuno 232747fe3b 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 <zaro0508@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-25 13:56:25 +00:00

31 lines
810 B
Puppet

class openstack_project::dashboard(
$password = '',
$mysql_password = '',
$sysadmins = []
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80, 443, 3000],
sysadmins => $sysadmins
}
class { '::dashboard':
dashboard_ensure => 'present',
dashboard_user => 'www-data',
dashboard_group => 'www-data',
dashboard_password => $password,
dashboard_db => 'dashboard_prod',
dashboard_charset => 'utf8',
dashboard_site => $::fqdn,
dashboard_port => '3000',
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