]> git.openstreetmap.org Git - chef.git/commitdiff
wordpress: use full depth git checkouts
authorGrant Slater <git@firefishy.com>
Mon, 13 Jun 2022 13:23:16 +0000 (14:23 +0100)
committerGrant Slater <git@firefishy.com>
Mon, 13 Jun 2022 13:23:16 +0000 (14:23 +0100)
cookbooks/wordpress/resources/plugin.rb
cookbooks/wordpress/resources/theme.rb

index 82c7ae5e2357a1e867d64e788e19ac9bdab65edb..881caee6389d3046c4cce4890dc8002a9f0df991 100644 (file)
@@ -49,7 +49,6 @@ action :create do
         action :sync
         repository plugin_repository
         revision new_resource.revision
-        depth 1
         user node[:wordpress][:user]
         group node[:wordpress][:group]
       end
index 994cf1223126475efe0be3b62eac0a2f7b53d82d..5a402f6d170bf26e0848d7a363477d5c783f1e31 100644 (file)
@@ -49,7 +49,6 @@ action :create do
         action :sync
         repository theme_repository
         revision new_resource.revision
-        depth 1
         user node[:wordpress][:user]
         group node[:wordpress][:group]
       end