Category: Ubuntu, Docker, automation

Our full suite of enterprise infrastructure, application and DevSecOps automation technologies for delivering change quickly, repeatedly, and securely. Chef Infrastructure Management ensures configurations are applied consistently in every environment with infrastructure management automation.

The test suite enables you to quickly test your Chef code in souped-up Docker containers, VirtualBox, Parallels, VMware machines and in the public cloud, producing real, reliable results in moments.

Our new Chef Guide – Accelerate test-driven development with Chef and Test Kitchen – explains how to get up and running, starting with the Dokken driver.

driver: name: dokken use_sudo: false privileged: true provisioner: name: dokken transport: name: dokken verifier: name: inspec platforms: - name: ubuntu-20.04 driver: image: dokken/ubuntu-20.04 - name: centos-8 driver: image: dokken/centos-8 - name: oraclelinux-7 driver: image: dokken/oraclelinux-7 Simple Test Kitchen commands do the hard work: $ kitchen list – View the status of test nodes Test Kitchen is about to create $ kitchen create – Creates the raw containers, VMs or cloud instances $ kitchen converge – Applies your Chef code to your created nodes $ kitchen verify – Runs Chef InSpec tests $ kitchen destroy – Terminate your test instances and clean up You can also create, converge, verify and destroy your target nodes in one step with a single command: $ kitchen test If you prefer testing in local virtual machines or the cloud, the guide also explains how to use VirtualBox and similar VM tools for your Chef target nodes and how to extend your local test environment to AWS, Azure, CloudStack, DigitalOcean.

Related Articles