Tag Chefdk

How to run tests from the ChefDK in Docker

How to get up and running with the ChefDK to perform common tests, such as unit tests and linting.

Using chef-shell to interactively debug attributes and recipes

How to use chef-shell to see attribute config and recipes, with and without a Chef Server.

Bundling Common Rake Tasks into a Gem

An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.

SSLError When Running Berkshelf Behind a Proxy

Getting around the pesky OpenSSL::SSL::SSLError SSLv2/v3 read server hello A error when running Berkshelf behind a proxy.

Trusting Self-Signed Certificates from the Chef Development Kit

How to get the ChefDK (and associated tools) to trust internal / self-signed certificates, in an easy oneliner.

Getting around Permission Denied when running ChefSpec

How to handle getting an EACCES when trying to run ChefSpec on a recipe.