How can I display the output of a Opscode Chef bash command in my console?

后端 未结 5 1583
傲寒
傲寒 2020-12-31 03:58

I use Vagrant to spawn a standard \"precise32\" box and provision it with Chef so I can test my Node.js code on Linux when I work on a Windows machine. This works fine.

5条回答
  •  离开以前
    2020-12-31 04:48

    Kind of related... setting the log_location (-L) to a file prevents the chef logs (Chef::Log.info() or simply log) from going to standard out.

    You can override this to print the full log information to stdout

    chef-client -L /dev/stdout
    

提交回复
热议问题