Vagrant - how to print Chef's command output to stdout?
问题 If we have in Chef cookbook code like: if !File.exists?('/vagrant/project/target/project/WEB-INF") || node[:compile_project] bash "build project" do user "vagrant" cwd "/vagrant/project" code <<-EOH mvn clean mvn db-migration:migrate mvn package EOH end end When run vagrant up we can see only brief information that 'build project' is executed. However wen we run 'mvn package' command from terminal we can see full command output. How to tell Vagrant/Chef to show full output? EDIT: I've tried