From a1e4fe4411e024bb2d0e569e27924e82405faab5 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 30 Mar 2018 13:07:39 -0700 Subject: [PATCH] Align how local provisioner looks with shell provisioner --- lib/vagrant/plugin/v2/trigger.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vagrant/plugin/v2/trigger.rb b/lib/vagrant/plugin/v2/trigger.rb index c8e2cdf5a..c72fa4659 100644 --- a/lib/vagrant/plugin/v2/trigger.rb +++ b/lib/vagrant/plugin/v2/trigger.rb @@ -159,11 +159,11 @@ module Vagrant # TODO: I18n me if !config.inline.nil? cmd = Shellwords.split(config.inline) - @machine.ui.info("Executing local: Inline script") + @machine.ui.detail("Running local: Inline script") else cmd = File.expand_path(config.path, @env.root_path) FileUtils.chmod("+x", cmd) # TODO: what about windows - @machine.ui.info("Executing local: File script #{config.path}") + @machine.ui.detail("Running local script: #{config.path}") end begin @@ -195,7 +195,7 @@ module Vagrant end end - # Runs a script on the host + # Runs a script on the guest # # @param [ShellProvisioner/Config] config A Shell provisioner config def run_remote(config, on_error)