vendor/bundle/ruby/2.1.0/gems/test-kitchen-1.7.3/lib/kitchen/provisioner/chef_base.rb
# Generates the init command variables for Bourne shell-based platforms.
#
# @param dirs [Array<String>] directories
# @return [String] shell variable lines
# @api private
Generates the init command variables for Bourne shell-based platforms.
Generates the init command variables for Bourne shell - based platforms .
def init_command_vars_for_bourne(dirs)
        [
          shell_var("sudo_rm", sudo("rm")),
          shell_var("dirs", dirs.join(" ")),
          shell_var("root_path", config[:root_path])
        ].join("\n")
      end
def init_command_vars_for_bourne ( dirs ) [ shell_var ( "sudo_rm" , sudo ( "rm" ) ) , shell_var ( "dirs" , dirs . join ( " " ) ) , shell_var ( "root_path" , config [ :root_path ] ) ] . join ( "\n" ) end
Generates the init command variables for Bourne shell-based platforms.
Generates the init command variables for Bourne shell - based platforms .
shell variable lines
shell variable lines
String
dirs
None
api
None