Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Taylor, Mischa.

Title Learning Chef / Mischa Taylor, Seth Vargo. [O'Reilly electronic resource]

Imprint Sebastopol, CA : O'Reilly Media, ©2015.
QR Code
Description 1 online resource (1 volume) : illustrations
text file
Note Includes index.
Summary 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.
Contents 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 -- Verify the Chef Development Kit/Chef Client Install on Linux -- Install Test Kitchen on Linux (Chef Client Only) -- Verify the Test Kitchen Installation on Linux (Chef Client only) -- Install the Chef Development Tools on Mac OS X -- Verify the Chef Development Kit/Chef Client Installation on Mac OS X -- Install Test Kitchen on Mac OS X (Chef Client Only) -- Verify the Test Kitchen Installation on Mac OS X (Chef Client Only) -- Install the Chef Development Tools on Windows -- Verify the Chef Development Kit/Chef Client Installer in Windows -- Install Test Kitchen in Windows (Chef Client Only) -- Verify the Test Kitchen Installer in Windows (Chef Client Only) -- Install Unix Tools for Windows -- Install ConEmu (Optional) -- Summary -- 3. Ruby and Chef Syntax -- Overview of Ruby -- Ruby Syntax and Examples -- Comments -- Variables -- Mathematical Operations -- Strings -- Heredoc Notation -- True and False -- Arrays -- Hashes -- Regular Expressions -- Conditionals and Flow -- Methods, Classes, and Modules -- 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 -- Define Prerequisites -- Generate the Cookbook Skeleton -- Edit the README.md File -- Update Metadata.rb -- Introducing the Package Resource -- Introducing the Service Resource -- Introducing the Template Resource -- Verify Success Criteria Are Met -- 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 -- Create a Node in a Sandbox Environment -- Bootstrap the Node with Knife -- 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 -- Simulate a Production Environment -- Simulate a Development Environment -- Summary -- 16. Testing -- Testing Rationale -- Revisiting the Apache Cookbook -- Test Automation with Serverspec -- Write Your First Serverspec Test -- RSpec DSL Syntax -- More Serverspec Resources -- Test Automation with Foodcritic -- Test Automation with ChefSpec -- Write Your First ChefSpec Test -- Lazy Evaluation with Let -- Generate a Coverage Report -- Share Test Code with spec_helper.rb -- Summary -- 17. Conclusion.
Subject Chef (Computer program)
Chef (Computer program)
Software configuration management.
Logiciels -- Gestion de configurations.
Software configuration management
Added Author Vargo, Seth.
Other Form: Print version: Taylor, Mischa. Learning Chef. Sebastopol, California : O'Reilly, ©2015 xiv, 348 pages 9781491944936
ISBN 1491944935
9781491944936
9781491945117 (e-book)
1491945117 (e-book)
1322282277
9781322282275
9781491945100
1491945109
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information