Puppet 2.7 cookbook build reliable, scalable, secure, high-performance systems to fully utilize the power of cloud computing
This book is written in a Cookbook style showing you how to set up and expand your Puppet infrastructure. It progresses through detailed information on the language and features, external tools, reporting, monitoring, and troubleshooting, and concludes with many specific recipes for managing popular...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham [England] :
Packt Pub
2011.
|
Edición: | 1st edition |
Colección: | Quick answers to common problems
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627921406719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Puppet Infrastructure; Using version control; Using commit hooks; Deploying changes with Rake; Configuring Puppet's file server; Running Puppet from cron; Using autosign; Pre-signing certificates; Retrieving files from Puppet's filebucket; Scaling Puppet using Passenger; Creating decentralized Puppet architecture; Chapter 2: Monitoring, Reporting, and Troubleshooting; Generating reports; E-mailing log messages containing specific tags; Creating graphical reports
- Producing automatic HTML documentationDrawing dependency graphs; Testing your Puppet manifests; Doing a dry run; Detecting compilation errors; Understanding Puppet errors; Logging command output; Logging debug messages; Inspecting configuration settings; Using tags; Using run stages; Using environments; Chapter 3: Puppet Language and Style; Using community Puppet style; Using modules; Using standard naming conventions; Using embedded Ruby; Writing manifests in pure Ruby; Iterating over multiple items; Writing powerful conditional statements; Using regular expressions in if statements
- Using selectors and case statementsTesting whether values are contained in strings; Using regular expression substitutions; Chapter 4: Writing Better Manifests; Using arrays of resources; Using define resources; Using dependencies; Using node inheritance; Using class inheritance and overriding; Passing parameters to classes; Writing reusable, cross-platform manifests; Getting information about the environment; Importing dynamic information; Importing data from CSV files; Passing arguments to shell commands; Chapter 5: Working with Files and Packages; Making quick edits to config files
- Using Augeas to automatically edit config filesBuilding config files using snippets; Using ERB templates; Using array iteration in templates; Installing packages from a third-party repository; Setting up an APT package repository; Setting up a gem repository; Building packages automatically from source; Comparing package versions; Chapter 6: Users and Virtual Resources; Using virtual resources; Managing users with virtual resources; Managing users' SSH access; Managing users' customization files; Efficiently distributing cron jobs; Running a command when a file is updated
- Using host resourcesUsing multiple file sources; Distributing directory trees; Cleaning up old files; Using schedules with resources; Auditing resources; Temporarily disabling resources; Managing timezones; Chapter 7: Applications; Managing Apache servers; Creating Apache virtual hosts; Creating Nginx virtual hosts; Creating MySQL databases and users; Managing Drupal sites; Managing Rails applications; Chapter 8: Servers and Cloud Infrastructure; Deploying a Nagios monitoring server; Building high-availability services using Heartbeat; Managing NFS servers and file shares
- Using HAProxy to load-balance multiple web servers