.kitchen.yml

The first file we'll work with is our .kitchen.yml. This file determines how Test Kitchen performs the build. This YAML file provides us with the following:

  • Driver: This is used for running the build in Docker as a privileged user starting with the init process. If you're unfamiliar with working with containers, we're setting it up this way to act more like a traditional VM, and less like a wrapper around an application.
  • Provisioner: We're setting up Test Kitchen to use the Puppet provisioner with a local manifests and modules path in our build.
  • Verifier: Use Inspec for testing.
  • Platforms: We are going to configure our container to use the CentOS SystemD container. We're passing additional commands to ensure that SSH works properly, ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.