Chef Debugging

When debugging recipes on a client run Chef-client with the debug option:

chef-client -l debug


Using the Chef subversion resource

The obvious parameters like username, password, repo were all correct, but I was getting a certificate not trusted error when running the chef-client.

I had to add two additional attributes:

svn_arguments = “–trust-server-cert –non-interactive”

svn_info_args = “–trust-server-cert –non-interactive”