lib/kitchen/provisioner/shell.rb
def prepare_script
        info("Preparing script")

        if config[:script]
          debug("Using script from #{config[:script]}")
          FileUtils.cp_r(config[:script], sandbox_path)
        else
          info("No provisioner script file specified, skipping")
        end
      end
# Copies the executable script to the sandbox directory or creates a
# stub script if one cannot be found.
#
# @api private
Copies the executable script to the sandbox directory or creates a
stub script if one cannot be found.
Copies the executable script to the sandbox directory or creates a stub script if one cannot be found .
def prepare_script
        info("Preparing script")
        if config[:script]
          debug("Using script from #{config[:script]}")
          FileUtils.cp_r(config[:script], sandbox_path)
        else
          info("No provisioner script file specified, skipping")
        end
      end
def prepare_script info ( "Preparing script" ) if config [ :script ] debug ( "Using script from #{config[:script]}" ) FileUtils . cp_r ( config [ :script ] , sandbox_path ) else info ( "No provisioner script file specified, skipping" ) end end
Copies the executable script to the sandbox directory or creates a
stub script if one cannot be found.
Copies the executable script to the sandbox directory or creates a stub script if one cannot be found .
api
None