Puppet Essentials

Get up and running quickly using the power of Puppet to manage your IT infrastructure

Puppet Essentials

This ebook is included in a Mapt subscription
Felix Frank

Get up and running quickly using the power of Puppet to manage your IT infrastructure
$0.00
$13.50
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.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 139781783987481
Paperback234 pages

Book Description

With this book, you'll be up and running with using Puppet to manage your IT systems. Dive right in with basic commands so that you can use Puppet right away, and then blitz through a series of illustrative examples to get to grips with all the most important aspects and features of Puppet.

Install Puppet, write your first manifests, and then immediately put the Puppet tools to real work. Puppet Essentials reveals the innovative structure and approach of Puppet through step-by-step instructions to follow powerful use cases. Learn common troubleshooting techniques and the master/agent setup as well as the building blocks for advanced functions and topics that push Puppet to the limit, including classes and defined types, modules, resources, and leveraging the flexibility and expressive power implemented by Facter and the Hiera toolchain. Finally, send Puppet to the skies with practical guidance on how to use Puppet to manage a whole application cloud.

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
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
Nesting definitions in classes
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
Making classes more flexible through inheritance
Saving redundancy using resource defaults
Avoiding antipatterns
Summary
Chapter 7: 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
Using Hiera in different contexts
A practical example
Debugging Hiera lookups
Summary
Chapter 8: Configuring Your Cloud Application with Puppet
Typical scopes of Puppet
Taking Puppet to the cloud
Building manifests for the cloud
Preparing for autoscaling
Ensuring successful provisioning
Summary

What You Will Learn

  • Write and employ individual Puppet manifests
  • Understand how Puppet implements system abstraction
  • Deploy the Puppet master and its agents
  • Leverage and extend Facter to summarize your systems
  • Create modular and reusable Puppet code
  • Extend your code base with publicly available Puppet modules
  • Separate logic from data using Hiera
  • Combine your new skills to manage large, complex systems

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
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
Nesting definitions in classes
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
Making classes more flexible through inheritance
Saving redundancy using resource defaults
Avoiding antipatterns
Summary
Chapter 7: 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
Using Hiera in different contexts
A practical example
Debugging Hiera lookups
Summary
Chapter 8: Configuring Your Cloud Application with Puppet
Typical scopes of Puppet
Taking Puppet to the cloud
Building manifests for the cloud
Preparing for autoscaling
Ensuring successful provisioning
Summary

Book Details

ISBN 139781783987481
Paperback234 pages
Read More

Read More Reviews