• Getting Started
    • Introduction
    • Installing
    • Getting Help
    • Creating a Cookbook
    • kitchen.yml
    • Instances
    • Writing a Recipe
    • kitchen converge
    • Manually Verifying
    • Writing a Test
    • kitchen verify
    • kitchen test
    • Adding a Platform
    • Adding a New Feature
    • Adding a Suite
    • Adding a Test
    • Adding a Recipe
    • Excluding Platforms
    • Next Steps
  • Drivers
    • About Drivers
    • Amazon AWS (EC2)
    • DigitalOcean
    • Dokken (Docker)
    • Google Cloud Platform
    • HashiCorp Vagrant
    • Microsoft Azure
    • Microsoft Hyper-V
    • OpenStack
    • VMware vCenter
    • VMware vRealize Automation
  • Transports
    • About Transports
    • SSH
    • WinRM
  • Provisioners
    • About Provisioners
    • Chef Infra
    • Shell
  • Verifiers
    • Verifiers
    • InSpec
    • ServerSpec
  • Reference
    • Configuration
    • Examples
    • FAQ
    • Fixture Cookbooks
    • Glossary
    • Lifecycle Hooks
    • Reboots

Writing a Recipe

Here we go, time to automate our Git installation! Open recipes/default.rb in your editor of choice and add the following:

package 'git'

Hrm. That was a bit too easy. Let’s put our code to the test right away!

Next - Running Kitchen Converge Back to previous step
  • Licensing
  • Terms & Conditions
  • Trademark Policy
  • Privacy Policy

Apache License, Version 2.0 (see LICENSE)