From 33a228a8e2be4df6486d81288b3c037f580ca6da Mon Sep 17 00:00:00 2001 From: Greg J Preece Date: Tue, 4 Jun 2019 20:58:52 -0700 Subject: [PATCH] Revert "Suppressing UI output in machine-readable mode" This reverts commit f626c53af2066709b20c3629eb8800d7f65955ee. --- lib/vagrant/ui.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index b9cb2ed4f..70474d111 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -103,6 +103,12 @@ module Vagrant raise Errors::UIExpectsTTY end + [:detail, :warn, :error, :info, :output, :success].each do |method| + define_method(method) do |message, *args, **opts| + machine("ui", method.to_s, message, *args, **opts) + end + end + def machine(type, *data) opts = {} opts = data.pop if data.last.kind_of?(Hash)