Chef Cookbook - Third Edition
eBook - ePub

Chef Cookbook - Third Edition

Matthias Marschall

Partager le livre
  1. 268 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Chef Cookbook - Third Edition

Matthias Marschall

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Chef Cookbook - Third Edition est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Chef Cookbook - Third Edition par Matthias Marschall en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et System Administration. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2017
ISBN
9781786465665

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 des matiĂšres