]> git.openstreetmap.org Git - chef.git/commitdiff
Limit depth of worddpress extension checkout
authorGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 02:07:42 +0000 (02:07 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Feb 2020 02:07:42 +0000 (02:07 +0000)
cookbooks/wordpress/resources/plugin.rb

index 468440ecaf735a03008f165957d5a39b75463ed8..72fd3973d15aed133b05b2918291e80bed3659ca 100644 (file)
@@ -47,6 +47,7 @@ action :create do
         action :sync
         repository plugin_repository
         revision new_resource.revision
+        depth 1
         user node[:wordpress][:user]
         group node[:wordpress][:group]
       end