]> git.openstreetmap.org Git - chef.git/blobdiff - roles/piwik.rb
Set server_protocol to https for all rails port instances
[chef.git] / roles / piwik.rb
index b15472dc8fd09eca9010147698775627bdedf1b2..a2badbc1ae8a291f21bd673936ef41dcab07b3c9 100644 (file)
@@ -4,6 +4,15 @@ description "Role applied to all Piwik servers"
 default_attributes(
   :apache => {
     :mpm => "prefork"
+  },
+  :mysql => {
+    :settings => {
+      :mysqld => {
+        :innodb_buffer_pool_instances => "8",
+        :innodb_buffer_pool_size => "16GB",
+        :innodb_flush_log_at_trx_commit => "2"
+      }
+    }
   }
 )