Book description
Get a hands-on introduction to the Chef, the configuration management tool for solving operations issues in enterprises large and small. Ideal for developers and sysadmins new to configuration management, this guide shows you to automate the packaging and delivery of applications in your infrastructure. You’ll be able to build (or rebuild) your infrastructure’s application stack in minutes or hours, rather than days or weeks.
After teaching you how to write Ruby-based Chef code, this book walks you through different Chef tools and configuration management concepts in each chapter, using detailed examples throughout. All you need to get started is command-line experience and familiarity with basic system administration.
- Configure your Chef development environment and start writing recipes
- Create Chef cookbooks with recipes for each part of your infrastructure
- Use Test Kitchen to manage sandbox testing environments
- Manage single nodes with Chef client, and multiple nodes with Chef Server
- Use data bags for storing shared global data between nodes
- Simulate production Chef Server environments with Chef Zero
- Classify different types of services in your infrastructure with roles
- Model life stages of your application, including development, testing, staging, and production
Publisher resources
Table of contents
- Preface
- 1. Configuration Management and Chef
- 2. Configure Your Chef Development Environment
- 3. Ruby and Chef Syntax
- 4. Write Your First Chef Recipe
- 5. Manage Sandbox Environments with Test Kitchen
- 6. Manage Nodes with Chef Client
-
7. Cookbook Authoring and Use
- Your First Cookbook: Message of the Day
- Your First Cookbook: Message of the Day (Chef Development Kit)
- Introducing the Cookbook_file Resource
- Your First Cookbook: Message of the Day (Chef Client)
- Introducing the Cookbook_file Resource
- Performing Your First Converge
- Validate Your Results
- Anatomy of a Chef Run
- Cookbook Structure
- The Four Resources You Need to Know
- Apache Cookbook: A Step-By-Step Primer for Creating a Cookbook
- Summary
- 8. Attributes
- 9. Manage Multiple Nodes at Once with Chef Server
-
10. Community and the Chef-Client Cookbook
- Using Community Cookbooks
- Chef-Client Cookbook
- Knife Cookbook Site Plugin
- Search for Community Cookbooks Using Knife Cookbook Site
- Manage Chef Supermarket Cookbooks on Your Chef Server Using Knife Cookbook Site
- Chef-Client Recipes
- Configure Knife to Use a Production SSL Setup
- Configure Chef-Client to Use a Production SSL Setup
- Summary
- 11. Chef Zero
- 12. Search
- 13. Data Bags
- 14. Roles
- 15. Environments
- 16. Testing
- 17. Conclusion
- A. Open Source Chef Server
- B. Hosted Enterprise Chef
- Glossary
- Index
- Colophon
- Copyright
Product information
- Title: Learning Chef
- Author(s):
- Release date: November 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491945100
You might also like
book
Mastering Chef
Build, deploy, and manage your IT infrastructure to deliver a successful automated system with Chef in …
book
Customizing Chef
Take advantage of Chef’s highly customizable design to tackle specific automation issues that you can’t solve …
audiobook
The Art of Leadership
Many people think leadership is a higher calling that resides exclusively with managers who practice or …
article
Communicate Like a Leader
Communication is a multifaceted skill that facilitates the flow of information and collaboration in the workplace. …