class Kitchen::Provisioner::Dokken

@author Sean OMeara <sean@chef.io>

def call(state)

(see Base#call)
def call(state)
  create_sandbox
  sandbox_dirs = Dir.glob(File.join(sandbox_path, '*'))
  instance.transport.connection(state) do |conn|
    info("Transferring files to #{instance.to_str}")
    conn.upload(sandbox_dirs, config[:root_path])
    debug('Transfer complete')
    conn.execute(run_command)
  end
rescue Kitchen::Transport::TransportFailed => ex
  raise ActionFailed, ex.message
ensure
  cleanup_sandbox
end

def run_command

magic method name because we're subclassing ChefZero
def run_command
  cmd = '/opt/chef/embedded/bin/chef-client'
  cmd << ' -z'
  cmd << ' -c /opt/kitchen/client.rb'
  cmd << ' -j /opt/kitchen/dna.json'
  cmd << ' -l warn'
  cmd << ' -F doc'
end

def runner_container_name

def runner_container_name
  "#{instance.name}"
end