From: Guillaume Rischard Date: Tue, 23 Apr 2024 15:55:10 +0000 (-0400) Subject: Stop zip theme being unpacked every time chef runs X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/420f4e7479fb21e5066151c99e15ff2e7eab972f?hp=-c Stop zip theme being unpacked every time chef runs --- 420f4e7479fb21e5066151c99e15ff2e7eab972f diff --git a/cookbooks/wordpress/resources/theme.rb b/cookbooks/wordpress/resources/theme.rb index e42b8b0d4..2c4ceda4e 100644 --- a/cookbooks/wordpress/resources/theme.rb +++ b/cookbooks/wordpress/resources/theme.rb @@ -62,10 +62,11 @@ action :create do archive_file zip_path do destination theme_directory - action :extract + action :nothing overwrite true group node[:wordpress][:group] owner node[:wordpress][:user] + subscribes :extract, "remote_file[#{zip_path}]", :immediately end else subversion theme_directory do