How to use a private RubyGems repository for your Chef gem dependencies in Test Kitchen.
Looking at the different dependency management solutions of Chef, and how, where and why you would use each one.
How to perform a
chef-client run without executing anything.
How to get up and running with the ChefDK to perform common tests, such as unit tests and linting.
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.
The updated error message returned by a Chef
ValidationFailed error, when you're specifying which properties are
required on a custom resource.
The unfortunate decision to cancel my Packt training courses.
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.
How to use
chef-shell to see attribute config and recipes, with and without a Chef Server.
A look at my time at OggCamp 2018, the talks I presented and attended.
Moving into Quality Engineering, publishing Chef training courses, conference speaking about Chef at OggCamp and the complex mess that is this very static website at DevOpsDays London.
Notes from the AWS Dev Day Roadshow in London, where we got to play around with Chef, Chef Automate and InSpec using AWS OpsWorks.
Why you should explicitly add
backup false when
file through Chef, to avoid leaving potentially sensitive files still on the box.
A look at the new features coming in the new Chef 14 release, as well as what to watch out for when upgrading.
An example of how to create a helper gem for common Rake task, using the real-world example of Chef cookbooks.
Hitting the error
permission denied while trying to connect to the Docker daemon socket when trying to run
docker login as a non-root user in Chef.
Missing space after # and
Do not use block comments errors for your
knife-cookbook-doc formatted comments.
Logger entries in autogenerated
README.mds for Chef 13.
Preparing for breaking changes in Chef 14 by renaming
new_resource.property_name in Custom Resources.
Testing implementation of a
ruby_block in ChefSpec, to ensure that the code executes as expected.
Notes on the main problems encountered when upgrading from Chef 12 to Chef 13, both with ChefSpec and Rubocop.
How to resolve the
Parenthesize the param lazy Rubocop error when upgrading your cookbook to Chef 13.
How to resolve the
Parenthesize the param render_file Rubocop error when upgrading your cookbook to Chef 13.
A one-liner shell command to fix Rubocop errors
%w-literals should be delimited by [ and ].