]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/matomo/recipes/default.rb
Reinstall matomo plugins after a version update
[chef.git] / cookbooks / matomo / recipes / default.rb
index b870cb0ffbee12d49a62434491c0403c8d464b42..d4e4697b16daf8d79ad412dcae7991d4c36c42d8 100644 (file)
@@ -76,6 +76,7 @@ node[:matomo][:plugins].each do |plugin_name, plugin_version|
     overwrite true
     owner "root"
     group "root"
+    subscribes :extract, "archive_file[#{Chef::Config[:file_cache_path]}/matomo-#{version}.zip]", :immediately
     subscribes :extract, "remote_file[#{Chef::Config[:file_cache_path]}/matomo-#{plugin_name}-#{plugin_version}.zip]", :immediately
     notifies :run, "notify_group[matomo-updated]"
   end