Mastering Puppet - Second Edition

Master Puppet for configuration management of your systems in an enterprise deployment

Mastering Puppet - Second Edition

This ebook is included in a Mapt subscription
Thomas Uphill

Master Puppet for configuration management of your systems in an enterprise deployment
$0.00
$20.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785888106
Paperback276 pages

Book Description

Puppet is a configuration management system and a language. It was written for and by system administrators to manage large numbers of systems efficiently and prevent configuration drifts.

Mastering Puppet deals with the issues faced when scaling out Puppet to handle large numbers of nodes. It will show you how to fit Puppet into your enterprise and allow many developers to work on your Puppet code simultaneously. In addition, you will learn to write custom facts and roll your own modules to solve problems. Next, popular options for performing reporting and orchestration tasks will be introduced in this book. Moving over to troubleshooting techniques, which will be very useful. The concepts presented are useful to any size organization.

By the end of the book, you will know how to deal with problems of scale and exceptions in your code, automate workflows, and support multiple developers working simultaneously.

Table of Contents

Chapter 1: Dealing with Load/Scale
Divide and conquer
Conquer by dividing
Summary
Chapter 2: Organizing Your Nodes and Data
Getting started
Organizing the nodes with an ENC
Hiera
Summary
Chapter 3: Git and Environments
Environments
Git
Git for everyone
Summary
Chapter 4: Public Modules
Getting modules
Using GitHub for public modules
Modules from the Forge
Using Librarian
Using r10k
Using Puppet-supported modules
Summary
Chapter 5: Custom Facts and Modules
Module manifest files
Custom facts
CFacter
Summary
Chapter 6: Custom Types
Parameterized classes
Defined types
Types and providers
Summary
Chapter 7: Reporting and Orchestration
Turning on reporting
Store
Logback
Internet relay chat
Foreman
Puppet GUIs
mcollective
Ansible
Summary
Chapter 8: Exported Resources
Configuring PuppetDB – using the Forge module
Manually installing PuppetDB
Exported resource concepts
Resource tags
Exported SSH keys
Putting it all together
Summary
Chapter 9: Roles and Profiles
Design pattern
Creating an example CDN role
Dealing with exceptions
Summary
Chapter 10: Troubleshooting
Connectivity issues
Catalog failures
Debugging
Summary

What You Will Learn

  • Scale out your Puppet infrastructure using proxying techniques
  • Automate your code promotion workflow using Git and r10k
  • Solve real-world problems using public modules from the Puppet Forge
  • Use Hiera to separate the data of your configuration from the code of your configuration
  • Write your own custom facts in Ruby
  • Extend Puppet with your own custom facts, modules, and types
  • Use exported resources to orchestrate change between machines
  • Debug a puppetserver using Java techniques

Authors

Table of Contents

Chapter 1: Dealing with Load/Scale
Divide and conquer
Conquer by dividing
Summary
Chapter 2: Organizing Your Nodes and Data
Getting started
Organizing the nodes with an ENC
Hiera
Summary
Chapter 3: Git and Environments
Environments
Git
Git for everyone
Summary
Chapter 4: Public Modules
Getting modules
Using GitHub for public modules
Modules from the Forge
Using Librarian
Using r10k
Using Puppet-supported modules
Summary
Chapter 5: Custom Facts and Modules
Module manifest files
Custom facts
CFacter
Summary
Chapter 6: Custom Types
Parameterized classes
Defined types
Types and providers
Summary
Chapter 7: Reporting and Orchestration
Turning on reporting
Store
Logback
Internet relay chat
Foreman
Puppet GUIs
mcollective
Ansible
Summary
Chapter 8: Exported Resources
Configuring PuppetDB – using the Forge module
Manually installing PuppetDB
Exported resource concepts
Resource tags
Exported SSH keys
Putting it all together
Summary
Chapter 9: Roles and Profiles
Design pattern
Creating an example CDN role
Dealing with exceptions
Summary
Chapter 10: Troubleshooting
Connectivity issues
Catalog failures
Debugging
Summary

Book Details

ISBN 139781785888106
Paperback276 pages
Read More

Read More Reviews