]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/piwik/recipes/default.rb
Allow piwik to use LOAD DATA INFILE for improved performance
[chef.git] / cookbooks / piwik / recipes / default.rb
index 997048308f49b45a2ae5cba47f65144925da005d..b2a27737ad4872a2f6a35db11d2415d1b0109e0d 100644 (file)
@@ -88,6 +88,12 @@ directory "/opt/piwik-#{version}/piwik/tmp" do
   mode "0755"
 end
 
+directory "/opt/piwik-#{version}/piwik/tmp/assets" do
+  owner "www-data"
+  group "mysql"
+  mode "0750"
+end
+
 link "/opt/piwik-#{version}/piwik/misc/GeoLite2-ASN.mmdb" do
   to "/usr/share/GeoIP/GeoLite2-ASN.mmdb"
 end