]> git.openstreetmap.org Git - chef.git/blobdiff - roles/piwik.rb
Fix path to cgimap executable
[chef.git] / roles / piwik.rb
index 7bf549ab0793cc36530cfeeaba9aac8ffc9a82b6..a2badbc1ae8a291f21bd673936ef41dcab07b3c9 100644 (file)
@@ -3,7 +3,16 @@ description "Role applied to all Piwik servers"
 
 default_attributes(
   :apache => {
-    :mpm => "prefork",
+    :mpm => "prefork"
+  },
+  :mysql => {
+    :settings => {
+      :mysqld => {
+        :innodb_buffer_pool_instances => "8",
+        :innodb_buffer_pool_size => "16GB",
+        :innodb_flush_log_at_trx_commit => "2"
+      }
+    }
   }
 )