Puppet 5 Essentials - Third Edition

A Guide to managing servers and automation
Preview in Mapt

Puppet 5 Essentials - Third Edition

Martin Alfke, Felix Frank

A Guide to managing servers and automation
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
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
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Puppet 5 Essentials - Third Edition Book Cover
Puppet 5 Essentials - Third Edition
$ 35.99
$ 10.00
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $55.98
Add to Cart

Book Details

ISBN 139781787284715
Paperback232 pages

Book Description

Puppet is a configuration management tool that allows you to automate all your IT configurations, giving you control over what you do to each Puppet Agent in a network, and when and how you do it. In this age of digital delivery and ubiquitous Internet presence, it's becoming increasingly important to implement scaleable and portable solutions, not only in terms of software, but also the system that runs it.

This gets you started quickly with Puppet and its tools in the right way. It highlights improvements in Puppet and provides solutions for upgrading. It starts with a quick introduction to Puppet in order to quickly get your IT automation platform in place. Then you learn about the Puppet Agent and its installation and configuration along with Puppet Server and its scaling options. The book adopts an innovative structure and approach, and Puppet is explained with flexible use cases that empower you to manage complex infrastructures easily.

Finally, the book will take readers through Puppet and its companion tools such as Facter, Hiera, and R10k and how to make use of tool chains.

Table of Contents

Chapter 1: Writing Your First Manifests
Getting started
Introducing resources, parameters, and properties
Interpreting output of the puppet apply command
Using variables
Adding control structures in manifests
Controlling the order of execution
Implementing resource interaction
Examining Puppet core resource types
Summary
Chapter 2: Puppet Server and Agents
The Puppet server
Setting up the Puppet agent
Performance optimizations
Completing the stack with PuppetDB
The Puppet CA
Summary
Chapter 3: A Peek into the Ruby Part of Puppet - Facts, Types, and Providers
Putting it all together - collecting system information with Facter
Accessing and using fact values
Extending Facter with custom facts
Simplifying things using external facts
Goals of Facter
The resource type's life cycle on the agent side
Command execution control with providers
Summarizing types and providers
Summary
Chapter 4: Combining Resources in Classes and Defined Types
Introducing classes and defined types
Design patterns
Including classes from defined types
Ordering and events among classes
Ordering containers
Limitations
Making classes more flexible through parameters
Summary
Chapter 5: Combining Classes, Configuration Files, and Extensions into Modules
The contents of Puppet's modules
Managing environments
Building a component module
Replacing a defined type with a native type
Enhancing Puppet's system knowledge through facts
Refining the interface of your module through custom functions
Making your module portable across platforms
Finding helpful Forge modules
Summary
Chapter 6: The Puppet Beginners Advanced Parts
Building dynamic configuration files
Managing file snippets
Using virtual resources
Cross-node configuration with exported resources
Setting defaults for resource parameters
Avoiding antipatterns
Summary
Chapter 7: New Features from Puppet 4 and 5
Upgrading to Puppet 4
Learning lambdas and functions
Creating Puppet 4 functions
Leveraging the new template engine
Handling multiline with HEREDOC
Using Puppet 5 server metrics
Breaking old practices
Summary
Chapter 8: Separation of Code and Data with Hiera
Understanding the need for separate data storage
Building hierarchical data structures
Fetching data from classes
Debugging data lookups
Managing resources from data
Summary
Chapter 9: Puppet Roles and Profiles
Technical component modules
Implementing components in profiles
The business use case and node classification
Building roles from profiles
Placing code on the Puppet server
Summary

What You Will Learn

  • Understand declarative configuration management
  • Make use of GIT-based deployment workflows
  • Extend Factor with secure elements
  • Create modular and reusable Puppet code
  • Extend your code base with publicly available Puppet modules
  • Separate logic from data by using Hiera
  • Understand and develop Puppet Roles and Profiles

Authors

Table of Contents

Chapter 1: Writing Your First Manifests
Getting started
Introducing resources, parameters, and properties
Interpreting output of the puppet apply command
Using variables
Adding control structures in manifests
Controlling the order of execution
Implementing resource interaction
Examining Puppet core resource types
Summary
Chapter 2: Puppet Server and Agents
The Puppet server
Setting up the Puppet agent
Performance optimizations
Completing the stack with PuppetDB
The Puppet CA
Summary
Chapter 3: A Peek into the Ruby Part of Puppet - Facts, Types, and Providers
Putting it all together - collecting system information with Facter
Accessing and using fact values
Extending Facter with custom facts
Simplifying things using external facts
Goals of Facter
The resource type's life cycle on the agent side
Command execution control with providers
Summarizing types and providers
Summary
Chapter 4: Combining Resources in Classes and Defined Types
Introducing classes and defined types
Design patterns
Including classes from defined types
Ordering and events among classes
Ordering containers
Limitations
Making classes more flexible through parameters
Summary
Chapter 5: Combining Classes, Configuration Files, and Extensions into Modules
The contents of Puppet's modules
Managing environments
Building a component module
Replacing a defined type with a native type
Enhancing Puppet's system knowledge through facts
Refining the interface of your module through custom functions
Making your module portable across platforms
Finding helpful Forge modules
Summary
Chapter 6: The Puppet Beginners Advanced Parts
Building dynamic configuration files
Managing file snippets
Using virtual resources
Cross-node configuration with exported resources
Setting defaults for resource parameters
Avoiding antipatterns
Summary
Chapter 7: New Features from Puppet 4 and 5
Upgrading to Puppet 4
Learning lambdas and functions
Creating Puppet 4 functions
Leveraging the new template engine
Handling multiline with HEREDOC
Using Puppet 5 server metrics
Breaking old practices
Summary
Chapter 8: Separation of Code and Data with Hiera
Understanding the need for separate data storage
Building hierarchical data structures
Fetching data from classes
Debugging data lookups
Managing resources from data
Summary
Chapter 9: Puppet Roles and Profiles
Technical component modules
Implementing components in profiles
The business use case and node classification
Building roles from profiles
Placing code on the Puppet server
Summary

Book Details

ISBN 139781787284715
Paperback232 pages
Read More

Read More Reviews

Recommended for You

Puppet 5 Beginner's Guide - Third Edition Book Cover
Puppet 5 Beginner's Guide - Third Edition
$ 31.99
$ 10.00
Puppet: Mastering Infrastructure Automation Book Cover
Puppet: Mastering Infrastructure Automation
$ 67.99
$ 10.00
DevOps: Puppet, Docker, and Kubernetes Book Cover
DevOps: Puppet, Docker, and Kubernetes
$ 79.99
$ 10.00
Learning PowerShell DSC - Second Edition Book Cover
Learning PowerShell DSC - Second Edition
$ 35.99
$ 10.00
DevOps with Kubernetes Book Cover
DevOps with Kubernetes
$ 39.99
$ 10.00
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 10.00