Learning Puppet

Build intelligent software stacks with the Puppet configuration management suite
Preview in Mapt

Learning Puppet

Jussi Heinonen

1 customer reviews
Build intelligent software stacks with the Puppet configuration management suite
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Puppet Book Cover
Learning Puppet
$ 35.99
$ 25.20
Learning Puppet [Video] Book Cover
Learning Puppet [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $125.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781784399832
Paperback304 pages

Book Description

Puppet is a cross-platform, open source configuration management utility, which runs on various Unix, Linux, and Windows Microsoft platforms. It allows you to automate all your IT configurations, giving you control of what you do to each node, and also when and how you do it. You’ll be able to build and manage development, test, and production environments independently without requiring previous system administration experience.

Learning Puppet is a step-by-step guide on how to get started with Puppet development and use Puppet modules as the building blocks to deploy production-ready application cluster in virtual environment.

You will begin with the installation of development environment on the VirtualBox hypervisor and Puppet Learning VM that will be used as the platform for testing and development of Puppet modules. Next, you will learn how to manage virtual machines and snapshots effectively and enhance the development experience with advanced VirtualBox features.

Later the book will focus on Puppet module development in detail. You will be guided through the process of utilizing existing modules that are available in the public module repository, write your own modules and use them to deploy a real-world web application that includes features such as monitoring and load balancing. You will then learn to scale your environment and turn your static configuration into a dynamic one through stored configurations and PuppetDB. Finally, the book will provide you with practical advice on Puppet troubleshooting and managing your environment with the wealth of features provided by the Puppet Enterprise console.

Table of Contents

Chapter 1: Puppet Development in Isolation
Puppet Manifests
Downloading Oracle VirtualBox
Downloading the Puppet Learning VM
Importing the Puppet Learning VM into VirtualBox
Virtual machine snapshots
Snapshot of the virtual machine
Puppet on command line
Managing resources with the puppet apply command
Creating Puppet manifests
Puppet configuration
Summary
Chapter 2: Managing Packages in Puppet
Restoring a snapshot
Introducing VirtualBox Guest Additions
Summary
Chapter 3: My First Puppet Module
Introducing the Puppet module
Summary
Chapter 4: Monitoring Your Web Server
Monitoring the architecture
Creating a Nagios module for the client and server
Enable monitoring on the web server
Summary
Chapter 5: Load Balancing the Cluster
The parameterized class
The defined type
The load balancing architecture
Building the load balancer node
Adding parameters to the loadbalancer class
Load balancing web server nodes
Summary
Chapter 6: Scaling Up the Puppet Environment
Puppet Master
Connecting Puppet Agent with Puppet Master
Summary
Chapter 7: Making the Configuration Dynamic
An introduction to PuppetDB and exported resources
Summary
Chapter 8: Extending Puppet
Puppet functions
Creating custom facts
Summary
Chapter 9: The Puppet Enterprise Console
Role-based Access Control
Creating a node group
Using Live Management
Accessing reports via the Puppet Enterprise Console
Searching nodes with Inventory Search
Summary
Chapter 10: Troubleshooting Puppet
Prerequisites
Troubleshooting node definition issues
Diagnosing duplicate declaration errors
Getting around dependency cycle errors
Troubleshooting missing resources
Rectifying certificate errors
Finding help online
Summary

What You Will Learn

  • Manage your system with Puppet instantly
  • Develop Puppet in an isolated development environment
  • Make your manifests reusable to avoid re-inventing the wheel
  • Automate monitoring to improve the user experience through increased uptime
  • Enable nodes to communicate with each other via Puppet Master
  • Make environment configuration dynamic using stored configurations and PuppetDB
  • Extend Puppet beyond the built-in functionalities
  • Manage your environment through the Puppet Enterprise console

Authors

Table of Contents

Chapter 1: Puppet Development in Isolation
Puppet Manifests
Downloading Oracle VirtualBox
Downloading the Puppet Learning VM
Importing the Puppet Learning VM into VirtualBox
Virtual machine snapshots
Snapshot of the virtual machine
Puppet on command line
Managing resources with the puppet apply command
Creating Puppet manifests
Puppet configuration
Summary
Chapter 2: Managing Packages in Puppet
Restoring a snapshot
Introducing VirtualBox Guest Additions
Summary
Chapter 3: My First Puppet Module
Introducing the Puppet module
Summary
Chapter 4: Monitoring Your Web Server
Monitoring the architecture
Creating a Nagios module for the client and server
Enable monitoring on the web server
Summary
Chapter 5: Load Balancing the Cluster
The parameterized class
The defined type
The load balancing architecture
Building the load balancer node
Adding parameters to the loadbalancer class
Load balancing web server nodes
Summary
Chapter 6: Scaling Up the Puppet Environment
Puppet Master
Connecting Puppet Agent with Puppet Master
Summary
Chapter 7: Making the Configuration Dynamic
An introduction to PuppetDB and exported resources
Summary
Chapter 8: Extending Puppet
Puppet functions
Creating custom facts
Summary
Chapter 9: The Puppet Enterprise Console
Role-based Access Control
Creating a node group
Using Live Management
Accessing reports via the Puppet Enterprise Console
Searching nodes with Inventory Search
Summary
Chapter 10: Troubleshooting Puppet
Prerequisites
Troubleshooting node definition issues
Diagnosing duplicate declaration errors
Getting around dependency cycle errors
Troubleshooting missing resources
Rectifying certificate errors
Finding help online
Summary

Book Details

ISBN 139781784399832
Paperback304 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Orchestrating Docker Book Cover
Orchestrating Docker
$ 14.99
$ 10.50
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90