I've run chef for existing cookbook, however I can't run it correctly.
I've got Chef Client failed without any error.
Asked
Active
Viewed 281 times
0

Irina
- 939
- 1
- 8
- 26
-
1`-L` option is for logfile. Do you have a file named `DEBUG` with any output? `-l` (small) is the one to set `debug` level of logging to stdout. – seshadri_c Dec 08 '20 at 12:20
1 Answers
1
I think you have mixed up log_level
option with logfile
.
- Lower case
-l
:-l debug
, will setlog_level
to DEBUG for logging to standard output. - Upper case
-L
:-L DEBUG
will createlogfile
calledDEBUG
and put the logs/errors of that run in it.
The error might be present in the file at /home/centos/DEBUG
.

seshadri_c
- 6,906
- 2
- 10
- 24