Johnny5
Johnny5

Reputation: 513

debug chef with an empty run list, what's the syntax?

A popular suggestion for debugging chef is to debug chef with an empty run list, what's the syntax?

something like: $ sudo chef-client -o "recipe[]" ??

Upvotes: 0

Views: 658

Answers (1)

coderanger
coderanger

Reputation: 54267

I don't think I've ever suggested that to someone, but I would think chef-client -o '' should work. What are you trying to debug that you think an empty run list would help? Errors during initialization are usually pretty clear since they happen before you see much other output.

Upvotes: 1

Related Questions