summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-13 10:43:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-13 10:43:28 -0300
commit92e432611864a3c06f3d86528cefb64c5a7535e0 (patch)
treedb69d518c15e465a2c90e2a87d5622e3a3a3c077
parent1168e586e565a9b9c49356ace54baf3f2a6952f3 (diff)
downloadpuppet-database-92e432611864a3c06f3d86528cefb64c5a7535e0.tar.gz
puppet-database-92e432611864a3c06f3d86528cefb64c5a7535e0.tar.bz2
Config table_cache renamed to table_open_cache
-rw-r--r--manifests/init.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 38c33e7..1a3509a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -38,6 +38,12 @@ class database {
'tmp_table_size': value => hiera('database::tmp_table_size', '64M');
'max_heap_table_size': value => hiera('database::max_heap_table_size', '64M');
'innodb_buffer_pool_size': value => hiera('database::innodb_buffer_pool_size', '256M');
- 'table_cache': value => hiera('database::table_cache', '800');
+ 'table_open_cache': value => hiera('database::table_cache', '800');
+ }
+
+ # Renamed to table_open_cache
+ database::config { 'table_cache':
+ value => hiera('database::table_cache', '800'),
+ ensure => absent.
}
}