Better logging around environment hooks

This commit is contained in:
Mitchell Hashimoto 2013-02-22 14:43:43 -08:00
parent 46db50680b
commit 9750069312
1 changed files with 1 additions and 0 deletions

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