Allow to parameterize mysql connections

Depending on the cores and memory of the server, this needs
to be parameterized properly or is causing issues on
neutron and nova.

Change-Id: Id5a0e5af031175cc0a9d8b5a3bb97ae4adfbdf1e
This commit is contained in:
Yolanda Robla Mota 2016-10-17 10:12:08 +02:00
parent 374218ac1a
commit 900fc12950
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ class infracloud::controller(
$ssl_key_file_contents,
$ssl_cert_file_contents,
$controller_public_address = $::fqdn,
$mysql_max_connections = 1024,
$openstack_release = 'mitaka',
) {
@ -91,7 +92,7 @@ class infracloud::controller(
root_password => $root_mysql_password,
override_options => {
'mysqld' => {
'max_connections' => '1024',
'max_connections' => $mysql_max_connections,
}
}
}