Performing a No-Op with
chef-client using JSON
How to perform a
chef-client run without executing anything.
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 Fake Cookbooks for Writing ChefSpec Tests for your Custom Chef Resources
A directory structure I've found quite useful for writing ChefSpec tests for custom resources, by creating a fake cookbook within the cookbook you're testing.
Test-Driven Chef Cookbook Development Using ChefSpec (and a sprinkling of InSpec)
Using the example of deploying and running a Java JAR file as a way to show the lifecycle of a fully test-driven Chef cookbook.
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.
ruby_blocks with ChefSpec
Testing implementation of a
ruby_block in ChefSpec, to ensure that the code executes as expected.
service resources in Kitchen-Docker
How to get up and running with
service resources when running Test Kitchen with the Docker driver, in this example for use with GitLab CI.
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.
Building Chef Cookbooks with GitLab (Part 1)
An introduction to how to build a cookbook using GitLab's Continuous Integration platform in conjunction with