lib/garcon/chef/provider/download.rb
# Command line executioner for running aria2.
#
# @return [undefined]
#
# @api private
Command line executioner for running aria2.
Command line executioner for running aria2 .
def do_download
        retrier(tries: 10, sleep: ->(n) { 4**n }) { installed?('aria2') }
        cmd = [which('aria2c')] << args.flatten.join(' ')
        Chef::Log.info shell_out!(cmd.flatten.join(' ')).stdout
      end
def do_download retrier ( tries : 10 , sleep : -> ( n ) { 4 ** n } ) { installed? ( 'aria2' ) } cmd = [ which ( 'aria2c' ) ] << args . flatten . join ( ' ' ) Chef :: Log . info shell_out! ( cmd . flatten . join ( ' ' ) ) . stdout end
Command line executioner for running aria2.
Command line executioner for running aria2 .
None
undefined
api
None