From 900fc12950e46758b6a2c344c58221a4b1264567 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Mota Date: Mon, 17 Oct 2016 10:12:08 +0200 Subject: [PATCH] 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 --- manifests/controller.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/controller.pp b/manifests/controller.pp index cae5a35..da5b696 100644 --- a/manifests/controller.pp +++ b/manifests/controller.pp @@ -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, } } }