Chef Cookbook – Third Edition

Key FeaturesImmediately apply Devops techniques and methods, then combine them with powerful Chef tools to manage and automate your infrastructureAddress the growing challenges of code management, cloud, and virtualization with Chef quicklyExplore and implement the important aspects of Chef Automate using this recipe-based guideBook DescriptionChef is a configuration management tool that lets you automate your more cumbersome IT infrastructure processes and control a large network of computers (and virtual machines) from one master server.This book will help you solve everyday problems with your IT infrastructure with Chef. In this edition, you will get to know more about Chef Automate, which consists of three important aspects: Infrastructure, Application, and Compliance Automation. It will start with recipes that show you how to effectively manage your infrastructure and solve problems with users, applications, and automation. You will then come across a new testing framework, InSpec, to test any node in your infrastructure.Further on, you will learn to customize plugins and write cross-platform cookbooks depending on the platform. You will also install packages from a third-party repository and learn how to manage users and applications. Toward the end, you will build high-availability services and explore what Habitat is and how you can implement it.What you will learnTest your cookbooks with Test KitchenManage cookbook dependencies with BerkshelfUse reporting to keep track of what happens during the execution of chef-client runs across all of the machinesCreate custom Ohai and Knife pluginsBuild a high-availability service using HeartbeatUse a HAProxy to load-balance multiple web serversAbout the AuthorMatthias Marschall is a software engineer "Made in Germany" and the author of the Chef Infrastructure Automation Cookbook by Packt Publishing. His four children make sure that he feels comfortable and stays in control of chaotic situations. A lean and Agile engineering lead, he's passionate about continuous delivery, infrastructure automation, and all things DevOps. In recent years, Matthias has helped build several web-based businesses, first with Java and then with Ruby on Rails. He quickly moved into system administration, writing his own configuration management tool before moving his whole infrastructure to Chef in its early days. In 2008, he started a blog ( with Dan Ackerson. There, they shared their ideas about DevOps since the early days of the continually emerging movement.You can find him on Twitter at @mmarschall. Matthias is the CTO of GmbH, who helps run Germany's biggest Q&A site among other high traffic sites. He holds a master's degree in computer science (Dipl.-Inf.[FH]) and teaches courses on Agile software development at the University of Augsburg. When not writing or coding, Matthias enjoys drawing cartoons and playing Go. He lives near Munich, Germany.

Author: Matthias Marschall

Learn more