commands/halt: halt in reverse order [GH-3790]

This commit is contained in:
Mitchell Hashimoto 2014-05-14 08:28:47 -07:00
parent 8c1615eec1
commit 3fb7b5061e
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
## 1.6.3 (unreleased)
IMPROVEMENTS:
- commands/halt: Halt in reverse order of up, like destroy. [GH-3790]
BUG FIXES:
- provisioners/puppet: Fix setting facter vars with Windows

View File

@ -27,7 +27,7 @@ module VagrantPlugins
return if !argv
@logger.debug("Halt command: #{argv.inspect} #{options.inspect}")
with_target_vms(argv) do |vm|
with_target_vms(argv, reverse: true) do |vm|
vm.action(:halt, :force_halt => options[:force])
end