Sha256: 2af161517385fb1835aab047e420499d206ec83522584c6f7abf510e7a6a4d5b
Contents?: true
Size: 357 Bytes
Versions: 10
Compression:
Stored size: 357 Bytes
Contents
module Vagrant module Actions module VM class Halt < Base def execute! raise ActionException.new(:vm_not_running) unless @runner.vm.running? @runner.invoke_around_callback(:halt) do logger.info "Forcing shutdown of VM..." @runner.vm.stop end end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems