    # File lib/chef/provider/directory.rb, line 113
          def action_delete
            if ::File.exist?(@new_resource.path)
              converge_by("delete existing directory #{@new_resource.path}") do
                if @new_resource.recursive == true
                  FileUtils.rm_rf(@new_resource.path)
                  Chef::Log.info("#{@new_resource} deleted #{@new_resource.path} recursively")
                else
                  ::Dir.delete(@new_resource.path)
                  Chef::Log.info("#{@new_resource} deleted #{@new_resource.path}")
                end
              end
            end
          end