Clean up plugin.rb

This commit is contained in:
Fabio Rehm 2013-08-03 16:13:57 -03:00
parent 6a8926d04a
commit 07d34726e2

View file

@ -63,10 +63,10 @@ module VagrantPlugins
clean_action_hook = lambda do |hook| clean_action_hook = lambda do |hook|
require_relative 'action/clean' require_relative 'action/clean'
hook.before Vagrant::Action::Builtin::GracefulHalt, VagrantPlugins::Cachier::Action::Clean hook.before Vagrant::Action::Builtin::GracefulHalt, Action::Clean
end end
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook action_hook 'remove-guest-symlinks-on-halt', :machine_action_halt, &clean_action_hook
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook action_hook 'remove-guest-symlinks-on-package', :machine_action_package, &clean_action_hook
end end
end end
end end