• 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
    • Hashicorp Vagrant
    • Microsoft Azure
  • 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
  • Cookie Policy

© 2008-2020 Chef Software, Inc. All Rights Reserved.