X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/24cc34f964bbdbdc85a89b7f5d4f9ec4ebfe4754..7c9a614d51617d1d88e685d0e9ea333c0c9de9b2:/cookbooks/matomo/recipes/default.rb diff --git a/cookbooks/matomo/recipes/default.rb b/cookbooks/matomo/recipes/default.rb index b870cb0ff..d4e4697b1 100644 --- a/cookbooks/matomo/recipes/default.rb +++ b/cookbooks/matomo/recipes/default.rb @@ -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