lib/garcon/chef/provider/download.rb
# Gather options to download file.
#
# @return [Array]
#
# @api private
Gather options to download file.
Gather options to download file .
def args(args = [])
        args << "--out=#{::File.basename(r.path)}"
        args << "--dir=#{::File.dirname(r.path)}"
        args << "--checksum=sha-256=#{r.checksum}" if r.checksum
        args << "--header='#{r.header}'" if r.header
        args << "--check-certificate=#{r.check_cert}"
        args << "--file-allocation=falloc"
        args << "--max-connection-per-server=#{r.connections}"
        args << r.source
      end
def args ( args = [ ] ) args << "--out=#{::File.basename(r.path)}" args << "--dir=#{::File.dirname(r.path)}" args << "--checksum=sha-256=#{r.checksum}" if r . checksum args << "--header='#{r.header}'" if r . header args << "--check-certificate=#{r.check_cert}" args << "--file-allocation=falloc" args << "--max-connection-per-server=#{r.connections}" args << r . source end
Gather options to download file.
Gather options to download file .
None
Array
args
<not_specific>
api
None