Chef Cookbook - Third Edition
eBook - ePub

Chef Cookbook - Third Edition

Matthias Marschall

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

Chef Cookbook - Third Edition

Matthias Marschall

Book details
Book preview
Table of contents
Citations

About This Book

Master over 80 incredibly effective recipes to manage the day-to-day complications in your infrastructureAbout This Bookā€¢ Immediately apply Devops techniques and methods, then combine them with powerful Chef tools to manage and automate your infrastructureā€¢ Address the growing challenges of code management, cloud, and virtualization with Chef quicklyā€¢ Explore and implement the important aspects of Chef Automate using this recipe-based guideWho This Book Is ForThis book is for system engineers and administrators who have a fundamental understanding of information management systems and infrastructure. It is also for DevOps Engineers, IT professionals, and organizations who want to automate and gain greater control of their infrastructures with Chef. No experience with Chef is needed, but may help.What You Will Learnā€¢ Test your cookbooks with Test Kitchenā€¢ Manage cookbook dependencies with Berkshelfā€¢ Use reporting to keep track of what happens during the execution of chef-client runs across all of the machinesā€¢ Create custom Ohai and Knife pluginsā€¢ Build a high-availability service using Heartbeatā€¢ Use a HAProxy to load-balance multiple web serversIn DetailChef is a configuration management tool that lets you automate your more cumbersome IT infrastructure processes and control a large network of computers (and virtual machines) from one master server.This book will help you solve everyday problems with your IT infrastructure with Chef. It will start with recipes that show you how to effectively manage your infrastructure and solve problems with users, applications, and automation. You will then come across a new testing framework, InSpec, to test any node in your infrastructure.Further on, you will learn to customize plugins and write cross-platform cookbooks depending on the platform. You will also install packages from a third-party repository and learn how to manage users and applications. Toward the end, you will build high-availability services and explore what Habitat is and how you can implement it.Style and approachThis book follows a recipe-based approach and covers all the important topics you need to know. If you don't want to dig through a whole book before you get started, this book is for you, as it features a set of independent recipes you can try out immediately.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is Chef Cookbook - Third Edition an online PDF/ePUB?
Yes, you can access Chef Cookbook - Third Edition by Matthias Marschall in PDF and/or ePUB format, as well as other popular books in Computer Science & System Administration. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781786465665
Edition
3

Chef Cookbook - Third Edition


Table of Contents

Chef Cookbook - Third Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Customer Feedback
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
Downloading the example code
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ā€¦
There's moreā€¦
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
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 the Chef client as a daemon
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
2. Evaluating and Troubleshooting Cookbooks and Chef Runs
Introduction
Testing your Chef cookbooks with cookstyle and Rubocop
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Flagging problems in your Chef cookbooks with Foodcritic
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
Compliance testing with InSpec
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 chef-shell
How to do itā€¦
How it worksā€¦
There's moreā€¦
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
Using Reporting to keep track of all your Chef client runs
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Raising and logging exceptions in recipes
Getting ready
How to do it...
How it worksā€¦
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
3. Chef Language and Style
Introduction
Using community Chef style
Getting ready
How to d...

Table of contents