Better logging around environment hooks

This commit is contained in:
Mitchell Hashimoto 2013-02-22 14:43:43 -08:00
parent 46db50680b
commit 9750069312

View File

@ -244,6 +244,7 @@ module Vagrant
#
# @param [Symbol] name Name of the hook.
def hook(name)
@logger.info("Running hook: #{name}")
callable = Proc.new {}
action_runner.run(callable, :action_name => name)
end