]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/resources/extension.rb
Tighten memory limits for imagery servers
[chef.git] / cookbooks / mediawiki / resources / extension.rb
index 8e7fbaa4be4e68a6103552e172970ef582ac655b..9f477a53f695a66c8423f1c6d563f2263d3c1d43 100644 (file)
@@ -89,6 +89,7 @@ action :create do
     cwd mediawiki_directory
     user node[:mediawiki][:user]
     group node[:mediawiki][:group]
+    environment "COMPOSER_HOME" => site_directory
     only_if { ::File.exist?("#{extension_directory}/composer.json") }
     subscribes :run, "git[#{extension_directory}]"
   end