lib/kitchen/provisioner/chef_solo.rb
# Returns an Array of command line arguments for the chef client.
#
# @return [Array<String>] an array of command line arguments
# @api private
Returns an Array of command line arguments for the chef client.
Returns an Array of command line arguments for the chef client .
def chef_args(solo_rb_filename)
        args = [
          "--config #{remote_path_join(config[:root_path], solo_rb_filename)}",
          "--log_level #{config[:log_level]}",
          "--no-color",
          "--json-attributes #{remote_path_join(config[:root_path], 'dna.json')}",
        ]
        args << " --force-formatter" if modern?
        args << "--logfile #{config[:log_file]}" if config[:log_file]
        args << "--profile-ruby" if config[:profile_ruby]
        args << "--legacy-mode" if config[:legacy_mode]
        args
      end
def chef_args ( solo_rb_filename ) args = [ "--config #{remote_path_join(config[:root_path], solo_rb_filename)}" , "--log_level #{config[:log_level]}" , "--no-color" , "--json-attributes #{remote_path_join(config[:root_path], 'dna.json')}" , ] args << " --force-formatter" if modern? args << "--logfile #{config[:log_file]}" if config [ :log_file ] args << "--profile-ruby" if config [ :profile_ruby ] args << "--legacy-mode" if config [ :legacy_mode ] args end
Returns an Array of command line arguments for the chef client.
Returns an Array of command line arguments for the chef client .
an array of command line arguments
an array of command line arguments
Array<String>
solo_rb_filename
api
None