Puppet 4 Essentials - Second Edition

Acquire skills to manage your IT infrastructure effectively with Puppet

Puppet 4 Essentials - Second Edition

Essentials
Felix Frank, Martin Alfke

3 customer reviews
Acquire skills to manage your IT infrastructure effectively with Puppet
$35.99
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

Book Details

ISBN 139781785881107
Paperback246 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 scalable and portable solutions, not only in terms of software, but also the systems that run it. The free Ruby-based tool Puppet has established itself as the most successful solution to manage any IT infrastructure. Ranging from local development environments through complex data center setups to scalable cloud implementations, Puppet allows you to handle them all with a unified approach.

Puppet 4 Essentials, Second Edition gets you started rapidly and intuitively as you’ll put Puppet’s tools to work right away. It will also highlight the changes associated with performance improvements as well as the new language features in Puppet 4.

We’ll start with a quick introduction to Puppet to get you managing your IT systems quickly. You will then learn about the Puppet Agent that comes with an all-in-one (AIO) package and can run on multiple systems. Next, we’ll show you the Puppet Server for high-performance communication and passenger packages. As you progress through the book, the innovative structure and approach of Puppet will be explained with powerful use cases. The difficulties that are inherent to a complex and powerful tool will no longer be a problem for you as you discover Puppet's fascinating intricacies.

By the end of the book, you will not only know how to use Puppet, but also its companion tools Facter and Hiera, and will be able to leverage the flexibility and expressive power implemented by their tool chain.

Table of Contents

Chapter 1: Writing Your First Manifests
Getting started
Introducing resources and properties
Interpreting the output of the puppet apply command
Adding control structures in manifests
Using variables
Controlling the order of evaluation
Implementing resource interaction
Examining the most notable resource types
Summary
Chapter 2: The Master and Its Agents
The Puppet Master
Setting up the Puppet Agent
Performance considerations
Using Phusion Passenger with Nginx
Completing the stack with PuppetDB
Troubleshooting SSL issues
Summary
Chapter 3: A Peek under the Hood – Facts, Types, and Providers
Summarizing systems with Facter
Understanding the type system
Substantiating the model with providers
Putting it all together
Summary
Chapter 4: Modularizing Manifests with Classes and Defined Types
Introducing classes and defined types
Structured design patterns
Including classes from defined types
Establishing relationships among containers
Making classes more flexible through parameters
Summary
Chapter 5: Extending Your Puppet Infrastructure with Modules
An overview of Puppet's modules
Maintaining environments
Building a specific module
Finding helpful Forge modules
Summary
Chapter 6: Leveraging the Full Toolset of the Language
Templating dynamic configuration files
Creating virtual resources
Exporting resources to other agents
Overriding resource parameters
Avoiding antipatterns
Summary
Chapter 7: New Features from Puppet 4
Upgrading to Puppet 4
Using the type system
Learning lambdas and functions
Creating Puppet 4 functions
Leveraging the new template engine
Handling multiline with HEREDOC
Breaking old practices
Summary
Chapter 8: Separating Data from Code Using Hiera
Understanding the need for separate data storage
Structuring configuration data in a hierarchy
Retrieving and using Hiera values in manifests
Converting resources to data
Debugging Hiera lookups
Implementing the Roles and Profiles pattern
Summary

What You Will Learn

  • Write and employ individual Puppet manifests
  • Understand how Puppet implements system abstraction
  • Deploy the Puppet master and agents
  • Leverage and extend Facter to summarize your systems
  • Create modular and reusable Puppet code
  • Extend your code base with publicly available Puppet modules
  • Use the modern features of Puppet 4
  • Separate logic from data using Hiera

Authors

Table of Contents

Chapter 1: Writing Your First Manifests
Getting started
Introducing resources and properties
Interpreting the output of the puppet apply command
Adding control structures in manifests
Using variables
Controlling the order of evaluation
Implementing resource interaction
Examining the most notable resource types
Summary
Chapter 2: The Master and Its Agents
The Puppet Master
Setting up the Puppet Agent
Performance considerations
Using Phusion Passenger with Nginx
Completing the stack with PuppetDB
Troubleshooting SSL issues
Summary
Chapter 3: A Peek under the Hood – Facts, Types, and Providers
Summarizing systems with Facter
Understanding the type system
Substantiating the model with providers
Putting it all together
Summary
Chapter 4: Modularizing Manifests with Classes and Defined Types
Introducing classes and defined types
Structured design patterns
Including classes from defined types
Establishing relationships among containers
Making classes more flexible through parameters
Summary
Chapter 5: Extending Your Puppet Infrastructure with Modules
An overview of Puppet's modules
Maintaining environments
Building a specific module
Finding helpful Forge modules
Summary
Chapter 6: Leveraging the Full Toolset of the Language
Templating dynamic configuration files
Creating virtual resources
Exporting resources to other agents
Overriding resource parameters
Avoiding antipatterns
Summary
Chapter 7: New Features from Puppet 4
Upgrading to Puppet 4
Using the type system
Learning lambdas and functions
Creating Puppet 4 functions
Leveraging the new template engine
Handling multiline with HEREDOC
Breaking old practices
Summary
Chapter 8: Separating Data from Code Using Hiera
Understanding the need for separate data storage
Structuring configuration data in a hierarchy
Retrieving and using Hiera values in manifests
Converting resources to data
Debugging Hiera lookups
Implementing the Roles and Profiles pattern
Summary

Book Details

ISBN 139781785881107
Paperback246 pages
Read More
From 3 reviews

Read More Reviews