Puppet Cookbook - Third Edition
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Condividi libro
  1. 336 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Puppet Cookbook - Third Edition è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Puppet Cookbook - Third Edition di Thomas Uphill, John Arundel in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Operating Systems. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2015
ISBN
9781784394882

Puppet Cookbook Third Edition


Table of Contents

Puppet Cookbook Third Edition
Credits
About the Authors
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
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Puppet Language and Style
Introduction
Adding a resource to a node
How to do it...
How it works...
Using Facter to describe a node
How to do it...
How it works...
There's more...
Variables
Scope
Installing a package before starting a service
How to do it...
How it works...
Capitalization
Learning metaparameters and ordering
Trifecta
Idempotency
Installing, configuring, and starting a service
How to do it...
How it works…
Using community Puppet style
How to do it…
Indentation
Quoting
False
Variables
Parameters
Symlinks
Creating a manifest
How to do it...
There's more…
Checking your manifests with Puppet-lint
Getting ready
How to do it...
There's more...
See also
Using modules
How to do it…
How it works…
There's more…
Templates
Facts, functions, types, and providers
Third-party modules
Module organization
See also
Using standard naming conventions
How to do it…
There's more…
Using inline templates
How to do it…
How it works…
There's more...
See also
Iterating over multiple items
How to do it…
How it works…
There's more…
Using hashes
Creating arrays with the split function
Writing powerful conditional statements
How to do it…
How it works…
There's more…
Elseif branches
Comparisons
Combining expressions
See also
Using regular expressions in if statements
How to do it…
How it works…
There's more…
Capturing patterns
Regular expression syntax
See also
Using selectors and case statements
How to do it…
How it works…
Selector
Case statement
There's more…
Regular expressions
Defaults
Using the in operator
How to do it…
There's more…
Using regular expression substitutions
How to do it…
How it works…
There's more…
See also
Using the future parser
Getting ready
How to do it...
Appending to and concatenating arrays
Lambda functions
Reduce
Filter
Map
Slice
Each
Other features
2. Puppet Infrastructure
Introduction
Installing Puppet
Getting ready
How to do it...
Managing your manifests with Git
Getting ready
How to do it...
How it works...
There's more...
Creating a decentralized Puppet architecture
Getting ready
How to do it...
How it works...
Writing a papply script
How to do it...
How it works...
Running Puppet from cron
Getting ready
How to do it...
How it works...
There's more...
Bootstrapping Puppet with bash
Getting ready
How to do it...
How it works...
There's more...
Creating a centralized Puppet infrastructure
Getting ready
How to do it...
How it works...
There's more...
Creating certificates with multiple DNS names
Getting ready
How to do it...
How it works...
Running Puppet from passenger
Getting ready
How to do it...
How it works...
There's more...
Setting up the environment
Getting ready
How to do it...
There's more...
Configuring PuppetDB
Getting ready
How to do it...
How it works...
There's more...
Configuring Hiera
Getting ready
How to do it...
How it works...
There's more...
Setting node-specific data with Hiera
Getting ready
How to do it...
How it works...
Storing secret data with hiera-gpg
Getting ready
How to do it...
How it works...
There's more...
See also
Using MessagePack serialization
Getting ready
How to do it...
How it works...
Automatic syntax checking with Git hooks
How to do it...
How it works...
Pushing code around with Git
Getting ready
How to do it...
How it works...
Managing Environments with Git
Getting ready
How to do it...
How it works...
There's more...
3. Writing Better Manifests
Introduction
Using arrays of resources
How to do it…
How it works…
See also
Using resource defaults
How to do it...
How it works...
There's more...
Using defined types
How to do it…
How it works…
There's more…
See also
Using tags
How to do it...
There's more…
Using run stages
How to do it…
How it works…
There's more…
See also
Using roles and profiles
How to do it…
How it works…
There's more…
Passing parameters to classes
How to do it…
How it works…
There's more…
Specifying default values
Passing parameters from Hiera
Getting ready
How to do it...
How it works...
There's more...
Writing reusable, cross-platform manifests
How to do it…
How it works...
There's more…
See also
Getting information about the environment
How to do it…
How it works…
There's more…
See also
Importing dynamic information
Getting ready
How to do it…
How it works…
There'...

Indice dei contenuti