Puppet Cookbook - Third Edition
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Compartir libro
  1. 336 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Puppet Cookbook - Third Edition un PDF/ePUB en línea?
Sí, puedes acceder a Puppet Cookbook - Third Edition de Thomas Uphill, John Arundel en formato PDF o ePUB, así como a otros libros populares de Computer Science y Operating Systems. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
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'...

Índice