Chef 客户端失败,没有错误

Chef Client failed without errors

我已经 运行 为现有的食谱做主厨,但是我不能 运行 正确。 我的 Chef Client 没有任何错误地失败了。 Synchronizing Cookbooks:
Running handlers:
Running handlers complete

我认为您混淆了 log_level 选项和 logfile

  • 小写 -l-l debug,将 log_level 设置为 DEBUG 以记录到标准输出。
  • 大写 -L: -L DEBUG 将创建名为 DEBUGlogfile 并将 运行 的 logs/errors 放入其中。

错误可能出现在 /home/centos/DEBUG 的文件中。