Puppet cookbook : jump-start your Puppet deployment using engaging and practical recipes /
This book is for anyone who builds and administers servers, especially in a web operations context. It requires some experience of Linux systems administration, including familiarity with the command line, file system, and text editing. No programming experience is required.
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Edición: | Third edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Puppet Language and Style; Introduction; Adding a resource to a node; Using Facter to describe a node; Installing a package before starting a service; Installing, configuring, and starting a service; Using community Puppet style; Creating a manifest; Checking your manifests with Puppet-lint; Using modules; Using standard naming conventions; Using inline templates; Iterating over multiple items; Writing powerful conditional statements.
- Using regular expressions in if statementsUsing selectors and case statements; Using the in operator; Using regular expression substitutions; Using the future parser; Chapter 2: Puppet Infrastructure; Introduction; Installing Puppet; Managing your manifests with Git; Creating a decentralized Puppet architecture; Writing a papply script; Running Puppet from cron; Bootstrapping Puppet with bash; Creating a centralized Puppet infrastructure; Creating certificates with multiple DNS names; Running Puppet from passenger; Setting up the environment; Configuring PuppetDB; Configuring Hiera.
- Setting node-specific data with HieraStoring secret data with hiera-gpg; Using MessagePack serialization; Automatic syntax checking with Git hooks; Pushing code around with Git; Managing Environments with Git; Chapter 3: Writing Better Manifests; Introduction; Using arrays of resources; Using resource defaults; Using defined types; Using tags; Using run stages; Using roles and profiles; Passing parameters to classes; Passing parameters from Hiera; Writing reusable, cross-platform manifests; Getting information about the environment; Importing dynamic information.
- Passing arguments to shell commandsChapter 4: Working with Files and Packages; Introduction; Making quick edits to config files; Editing INI style files with puppetlabs-inifile; Using Augeas to reliably edit config files; Building config files using snippets; Using ERB templates; Using array iteration in templates; Using EPP templates; Using GnuPG to encrypt secrets; Installing packages from a third-party repository; Comparing package versions; Chapter 5: Users and Virtual Resources; Introduction; Using virtual resources; Managing users with virtual resources; Managing users' SSH access.
- Managing users' customization filesUsing exported resources; Chapter 6: Managing Resources and Files; Introduction; Distributing cron jobs efficiently; Scheduling when resources are applied; Using host resources; Using exported host resources; Using multiple file sources; Distributing and merging directory trees; Cleaning up old files; Auditing resources; Temporarily disabling resources; Chapter 7: Managing Applications; Introduction; Using public modules; Managing Apache servers; Creating Apache virtual hosts; Creating nginx virtual hosts; Managing MySQL; Creating databases and users.