,

Learning Chef

A Guide to Configuration Management and Automation

Paperback Engels 2014 9781491944936
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781491944936
Trefwoorden:Chef
Taal:Engels
Bindwijze:paperback
Aantal pagina's:366
Uitgever:O'Reilly
Verschijningsdatum:18-11-2014

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

1. Configuration Management and Chef
-What Is Configuration Management?
-Why You Need a Configuration Management Tool to Automate IT
-What Is Chef?
-Why Chef Might Be a Good Tool for Your Enterprise
-Where Do We Go From Here?

2. Configure Your Chef Development Environment
-Install a Programmer’s Text Editor
-Chef Development Tools
-Install the Chef Development Tools on Linux
-Install the Chef Development Tools on Mac OS X
-Install the Chef Development Tools on Windows
-Summary

3. Ruby and Chef Syntax
-Overview of Ruby
-Ruby Syntax and Examples
-Chef Syntax and Examples

4. Write Your First Chef Recipe
-Create a Directory Structure for Your Code
-Write Your First Chef Recipe
-Verify Your First Chef Recipe
-Examine hello.rb
-Recipes Specify Desired Configuration
-To Uninstall, Specify What Not to Do
-Summary

5. Manage Sandbox Environments with Test Kitchen
-Installing Vagrant and VirtualBox
-Host versus Guest
-Introducing Test Kitchen
-Spinning Up Your First Virtual Machine
-YAML Overview
-Test Kitchen Configuration with .kitchen.yml
-Summary

6. Manage Nodes with Chef Client
-What Is a Node?
-Create a New Sandbox Environment for a Node
-Installing Chef Client with Test Kitchen
-Your First Chef-Client Run
-Chef Client Modes
-Ohai
-Accessing Node Information
-Summary

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
-Motd-Attributes Cookbook
-Setting Attributes
-Basic Attribute Priority
-Include_Recipe
-Attribute Precedence
-Debugging Attributes
-Summary

9. Manage Multiple Nodes at Once with Chef Server
-How to Install Enterprise Chef Server Manually
-Install Enterprise Chef Server
-Introducing Idempotence
-Configure Enterprise Chef Server
-Testing the Connection
-Bootstrapping a Node
-Bootstrap Chef Server with Chef Solo
-Summary

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
-Test Kitchen and Chef Zero
-Running Chef-Zero on Your Host Using Chef-Playground
-Summary

12. Search
-Search from the Command Line
-Search from the Command Line with Knife
-Search in a Recipe Using Test Kitchen
-Summary

13. Data Bags
-Basic Command Line Data Bag Usage with Knife
-Creating Local Users Based on Data Bag Items in a Recipe
-Verify Users
-Encrypted Data Bags
-chef-vault
-Summary

14. Roles
-Create a Web Server Role
-Attributes and Roles
-Roles and Search
-Role Cookbook
-Summary

15. Environments
-Create a Dev Environment
-Attributes and Environments
-Putting All the Pieces Together
-Summary

16. Testing
-Testing Rationale
-Revisiting the Apache Cookbook
-Test Automation with Serverspec
-Test Automation with Foodcritic
-Test Automation with ChefSpec
-Summary

17. Conclusion

Appendix A: Open Source Chef Server
Appendix B: Hosted Enterprise Chef

Managementboek Top 100

Rubrieken

    Personen

      Trefwoorden

        Learning Chef