Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

Pro Puppet (3 page)

BOOK: Pro Puppet
8.63Mb size Format: txt, pdf, ePub
ads

Making Virtual Resources Real

Relationship-Chaining Syntax

Getting Started with Exported and Stored Configurations

The Stored Configuration Database Server

Configuring Puppet Master for Stored Configuration

Adding a MySQL Table Index

Using Exported Resources

Automated SSH Public Host Key Management

Exporting Load Balancer Worker Resources

Automating Nagios Service Checks

Scaling Stored Configurations

Thin Stored Configurations

Queue Support for Stored Configurations

Installing ActiveMQ on Enterprise Linux-Based Systems

Installing ActiveMQ on Debian-Based Systems

Puppet Master Queue Configuration

Expiring Stale Resources

Summary

Resources

Chapter 7: Puppet Consoles: Puppet Dashboard and The Foreman

Puppet Dashboard

Installing Puppet Dashboard

Configuring the Dashboard

Running Puppet Dashboard

Integrating Puppet Dashboard

External Node Classification

Logging, Database Backup and Performance

The Foreman

Installing Foreman

Configuring Foreman

Starting Foreman

Integrating Foreman's Capabilities

Displaying Reports in Foreman

Displaying Nodes Information in Foreman

Using Foreman to trigger Puppet

Summary

Resources

Chapter 8: Tools and Integration

Puppet Forge and Module Tool

Installing the Puppet Module Tool

Searching and Installing a Module from the Forge

Using a Module

Creating a Module with the Puppet-Module Tool

Puppet Ruby DSL

The Problem: Resources from Data

Declaring Resources from Data

Cucumber Puppet

Installing Cucumber Puppet

Writing a Story

Testing the Basic Catalog Policy

Validating Specific Resources

Summary

Resources

Chapter 9: Reporting with Puppet

Getting Started

Configuring Reporting

Report Processors

log

tagmail

rrdgraph

http

custom reporting

Summary

Resources

Chapter 10: Extending Facter and Puppet

Writing and Distributing Custom Facts

Configuring Puppet for Custom Facts

Writing Custom Facts

Testing the Facts

Developing Custom Types, Providers and Functions

Configuring Puppet for Types, Providers and Functions

Writing a Puppet Type and Provider

Writing a Parsed File Type and Provider

A More Complex Type and Provider

Testing Types and Providers

Writing Custom Functions

Summary

Resources

Chapter 11: Marionette Collective

Installing and Configuring RabbitMQ

Installing RabbitMQ on Debian

Installing RabbitMQ on RHEL / CentOS

RabbitMQ Configuration

Installing MCollective on Debian and Ubuntu

Installing MCollective on Enterprise Linux

MCollective Server Configuration

MCollective Plugins

Puppet Agent MCollective Plugins

The Facter Plugin for MCollective

Additional Plugins

Addressing Hosts with Metadata

Summary

Resources

Appendix A: Working with Puppet

Getting Support and Training

Resources

Web

Mailing Lists

Puppet Module Forge

Puppet Enterprise

Support (commercial)

Training

IRC

Index

About the Author

James
is the author of five technical books about open source software and a long-time member of the open source community. James authored the first (and this second!) book about Puppet and works for Puppet Labs running Client Services.

James speaks regularly at conferences including OSCON, Linux.conf.au, FOSDEM, OpenSourceBridge, DevOpsDays and a number of others. He is a past president of Linux Australia and has run Linux.conf.au and serves on the program committee of Linux.conf.au and OSCON.

James is Australian but currently lives in Portland, Oregon. His interests include cooking, wine, political theory, photojournalism, philosophy, and most recently the Portland Timbers association football team.

James Turnbull

Jeff
is a long-time Puppet community member and open source software advocate. He started off with computers and Unix at a young age thanks to his parents' company, Summit Computer Services. Before graduating with his BS CSE degree, Jeff managed Mac OS X and Linux systems at the Mathematics Department at Ohio State University where he got started with configuration management and Puppet.

Jeff works for Puppet Labs, hacking on code and working with customers to improve their Puppet deployments. Jeff also speaks regularly at conferences including Apple's World Wide Developer Conference, Macworld, Open Source Bridge, Velocity, and others. He travels the world teaching and consulting on Puppet.

Jeff grew up in Ohio and currently lives in Portland, Oregon. His interests include hacking on microcontrollers, anime, photography, music, hiking, and long walks on the beach.

Jeff McCune

BOOK: Pro Puppet
8.63Mb size Format: txt, pdf, ePub
ads

Other books

Mud Girl by Alison Acheson
StrangersonaTrain by Erin Aislinn
Chalados y chamba by Marcus Sedgwick
Madly & the Jackal by M. Leighton
Mientras vivimos by Maruja Torres
The Folded Clock by Heidi Julavits
Phoenix Rising by Bryony Pearce
Love in a Bottle by Antal Szerb