]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/theme.rb
Use ruby cookbook to install ruby for prometheus
[chef.git] / cookbooks / wordpress / resources / theme.rb
index e42b8b0d43da7b4a906d0e1eb80dfb4d274374ef..2c4ceda4e5d1947fb048762512818c8b63ae4415 100644 (file)
@@ -62,10 +62,11 @@ action :create do
 
       archive_file zip_path do
         destination theme_directory
 
       archive_file zip_path do
         destination theme_directory
-        action :extract
+        action :nothing
         overwrite true
         group node[:wordpress][:group]
         owner node[:wordpress][:user]
         overwrite true
         group node[:wordpress][:group]
         owner node[:wordpress][:user]
+        subscribes :extract, "remote_file[#{zip_path}]", :immediately
       end
     else
       subversion theme_directory do
       end
     else
       subversion theme_directory do