Book Image

Mastering Chef

By : Mayank Joshi
Book Image

Mastering Chef

By: Mayank Joshi

Overview of this book

Table of Contents (20 chapters)
Mastering Chef
About the Author
About the Reviewers
Knife and Its Associated Plugins
Data Bags and Templates


This brings us to the end of our journey in to the world of data bags and templates. We've seen how to manage data bags, and use data bags to store sensitive data by encrypting the content. We have, finally, learnt about using templates and also touched upon the use of partial templates. By now, you would've realized how useful these two features of Chef are. With the proper use of data bags and templates, you can write really efficient Chef code, which is more robust and clean. In the next chapter, we will look into one of the very powerful features of Chef, called search, and along the way we will also explore its API.