Chef Infrastructure Automation Cookbook - Second Edition
eBook - ePub

Chef Infrastructure Automation Cookbook - Second Edition

  1. 278 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Chef Infrastructure Automation Cookbook - Second Edition

About this book

About This Book

  • Automate error-prone and tedious manual tasks and manage your servers on-site or in the cloud
  • Equip yourself with Chef components such as Chef client and solo, and learn how to create simple Chef cookbooks and various other artifacts for managing systems with Chef when live
  • Packed with working code and easy-to-follow, step-by-step instructions to configure, deploy, and scale your applications

Who This Book Is For

This book is for system engineers and administrators who have a fundamental understanding of information management systems and infrastructure. It helps if you've already played around with Chef; however, this book covers all the important topics you will need to know. If you don't want to dig through a whole book before you can get started, this book is for you, as it features a set of independent recipes you can try out immediately.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Chef Infrastructure Automation Cookbook - Second Edition by Matthias Marschall in PDF and/or ePUB format, as well as other popular books in Computer Science & Client-Server Computing. We have over one million books available in our catalogue for you to explore.

Chef Infrastructure Automation Cookbook Second Edition


Table of Contents

Chef Infrastructure Automation Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Chef Infrastructure
Introduction
Using version control
Getting ready
How to do it...
How it works...
There's more...
See also
Installing the Chef development kit on your workstation
How to do it...
How it works...
See also
Using the hosted Chef platform
Getting ready
How to do it...
How it works...
There's more...
See also
Managing virtual machines with Vagrant
Getting ready
How to do it...
How it works...
There's more...
See also
Creating and using cookbooks
Getting ready
How to do it...
How it works...
See also
Inspecting files on your Chef server with knife
Getting ready
How to do it...
How it works...
There's more...
See also
Defining cookbook dependencies
Getting ready
How to do it...
How it works...
There's more...
See also
Managing cookbook dependencies with Berkshelf
Getting ready
How to do it...
How it works...
There's more...
See also
Downloading and integrating cookbooks as vendor branches into your Git repository
Getting ready
How to do it...
How it works...
There's more...
See also
Using custom knife plugins
Getting ready
How to do it...
How it works...
There's more...
See also
Deleting a node from the Chef server
Getting ready
How to do it...
How it works...
There's more...
See also
Developing recipes with local mode
Getting ready
How to do it...
How it works...
There's more...
Running knife in local mode
Moving to hosted Chef or your own Chef server
See also
Using roles
Getting ready
How to do it...
How it works...
See also
Using environments
Getting ready
How to do it...
How it works...
There's more...
See also
Freezing cookbooks
Getting ready
How to do it...
How it works...
There's more...
See also
Running Chef client as a daemon
Getting ready
How to do it...
How it works...
There's more...
Using chef-shell
How to do it...
How it works...
There's more...
See also
2. Evaluating and Troubleshooting Cookbooks and Chef Runs
Introduction
Testing your Chef cookbooks
Getting ready
How to do it...
How it works...
There's more...
See also
Flagging problems in your Chef cookbooks
Getting ready
How to do it...
How it works...
There's more...
See also
Test-driven development for cookbooks using ChefSpec
Getting ready
How to do it...
How it works...
There's more...
See also
Integration testing your Chef cookbooks with Test Kitchen
Getting ready
How to do it...
How it works...
There's more...
See also
Showing affected nodes before uploading cookbooks
Getting ready
How to do it...
How it works...
See also
Overriding a node's run list to execute a single recipe
Getting ready
How to do it...
How it works...
See also
Using why-run mode to find out what a recipe might do
Getting ready
How to do it...
How it works...
See also
Debugging Chef client runs
Getting ready
How to do it...
How it works...
There's more...
See also
Inspecting the results of your last Chef run
Getting ready
How to do it...
How it works...
See also
Raising and logging exceptions in recipes
Getting ready
How to do it...
How it works...
There's more...
See also
Diff-ing cookbooks with knife
Getting ready
How to do it...
How it works...
There's more...
See also
Using community exception and report handlers
Getting ready
How to do it...
How it works...
There's more...
See also
Creating custom handlers
Getting ready...
How to do it...
How it works...
There's more...
See also
3. Chef Language and Style
Introduction
Using community Chef style
Getting ready
How to do it...
How it works...
There's more...
See also
Using attributes to dynamically configure recipes
Getting ready
How to do it...
How it works...
There's more...
Calculating values in the attribute files
See also
Using templates
Gett...

Table of contents

  1. Chef Infrastructure Automation Cookbook Second Edition