class Kitchen::Provisioner::Base
Public Instance Methods
Source
# File lib/kitchen/helpers.rb, line 307 def create_sandbox info("Creating kitchen sandbox in #{sandbox_path}") FileUtils.mkdir_p(sandbox_path, mode: 0o755) end
Source
# File lib/kitchen/helpers.rb, line 317 def instance_name prefix = (Digest::SHA2.hexdigest FileUtils.pwd)[0, 10] "#{prefix}-#{instance.name}".downcase end
Source
# File lib/kitchen/helpers.rb, line 313 def sandbox_path "#{Dir.home}/.dokken/kitchen_sandbox/#{instance_name}" end
this MUST be named ‘sandbox_path’ because ruby.