Mastering Chef

More Information
  • Get familiar with the Chef ecosystem and its associated components
  • Use Ruby and Chef together to write effective infrastructure code
  • Explore various aspects of the Chef API, such as using search in a recipe and with the help of the Knife plugin
  • Write recipes and custom Lightweight Resource/Provider
  • Discover the usage of data bags and templates to customize servers
  • Extend the functionalities of Chef using custom Ohai and Knife plugins

Chef is a configuration management tool that turns IT infrastructure into code. Chef provides tools to manage systems at scale. This book will take you through the Chef code, tools, and components to manage your environments using the Chef server efficiently. The book starts with an introduction to the Chef ecosystem, taking you through the terminologies used in Chef, the anatomy of a chef-client run, and Chef solo. You will learn how to use Knife and its associated plugins to accomplish daily routine tasks in a more efficient way. You will also learn how to speed this up by using Ruby with Chef, which will allow you to write more efficient infrastructure code. This book then introduces you to cookbooks and how to extend chef-client through the use of Lightweight Resource/Provider. It tells you how to keep all kind of configurations in key-value pair efficiently, by introducing you to data bags and templates. Then you will get a walkthrough of Chef's wonderful APIs and the extended functionalities of Chef. By the end of the book you will be so well-versed with Chef that you'll be able to explore some fun uses of Chef, which will allow for better productivity.

  • Discover the new fundamentals of the ecosystem, its APIs, as well as the ohai and knife plugins
  • Learn new ways of using Chef and its attributes by overriding the old attributes
  • Packed with real-world examples that can be used to explore the components like speeding up Chef with Ruby
Page Count 374
Course Length 11 hours 13 minutes
ISBN 9781783981564
Date Of Publication 28 Jun 2015


Mayank Joshi

Mayank Joshi works for Indix as a DevOps engineer. He has worn many hats during his 10-year long career. He has been a developer, a systems analyst, a systems administrator, a software consultant, and for the past 6 years, he has been fascinated with the phenomenal growth witnessed in cloud environments and the challenges of automation associated with the hosting of the infrastructure in such environments. Prior to Indix, he worked for start-ups such as SlideShare, R&D organizations such as CDAC, and even had a stint at a highly automated chemical plant of IFFCO.