Puppet 4.10 Beginner's Guide - Second Edition

Puppet is great for developers, system administrators, IT professionals, and anyone laying the foundation for DevOps practices - this comprehensive guide will get you up to speed, all the way from installation to automation to the latest features of Puppet 4.10.

Puppet 4.10 Beginner's Guide - Second Edition

This ebook is included in a Mapt subscription
John Arundel

Puppet is great for developers, system administrators, IT professionals, and anyone laying the foundation for DevOps practices - this comprehensive guide will get you up to speed, all the way from installation to automation to the latest features of Puppet 4.10.
$0.00
$31.99
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.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 139781787124004
Paperback268 pages

Book Description

Puppet 4.10 Beginner’s Guide, Second Edition, gets you up and running with the very latest features of Puppet 4.10, including Docker containers, Hiera data, and Amazon AWS cloud orchestration. Go from beginner to confident Puppet user with a series of clear, practical examples to help you manage every aspect of your server setup.

Whether you’re a developer, a system administrator, or you are simply curious about Puppet, you’ll learn Puppet skills that you can put into practice right away. With practical steps giving you the key concepts you need, this book teaches you how to install packages and config files, create users, set up scheduled jobs, provision cloud instances, build containers, and so much more.

Every example in this book deals with something real and practical that you’re likely to need in your work, and you’ll see the complete Puppet code that makes it happen, along with step-by-step instructions for what to type and what output you’ll see. All the examples are available in a GitHub repo for you to download and adapt for your own server setup.

Table of Contents

Chapter 1: Getting started with Puppet
Why do we need Puppet anyway?
Configuration management tools
What is Puppet?
Getting ready for Puppet
Summary
Chapter 2: Creating your first manifests
Hello, Puppet – your first Puppet manifest
Managing packages
Services
Summary
Chapter 3: Managing your Puppet code with Git
What is version control?
Creating a Git repo
Distributing Puppet manifests
Fetching and applying changes automatically
Summary
Chapter 4: Understanding Puppet resources
Files
Packages
Services
Users
Cron resources
Exec resources
Summary
Chapter 5: Variables, expressions, and facts
Introducing variables
Introducing expressions
Finding out facts
Iterating over arrays
Summary
Chapter 6: Managing data with Hiera
Why Hiera?
Setting up Hiera
Adding Hiera data to your Puppet repo
Querying Hiera
Writing Hiera data
The hierarchy
Creating resources with Hiera data
Managing secret data
Summary
Chapter 7: Mastering modules
Using Puppet Forge modules
Using modules in your manifests
Exploring the standard library
Writing your own modules
Summary
Chapter 8: Classes, roles, and profiles
Classes
Parameter data types
Defined resource types
Node definitions, roles, and profiles
Summary
Chapter 9: Managing files with templates
What are templates?
Using templates in your manifests
Iteration in templates
Summary
Chapter 10: Controlling containers
Understanding containers
Deployment with Docker
Managing Docker with Puppet
Managing Docker images
Building dynamic containers
Persistent storage for containers
Networking and orchestration
Running Puppet inside containers
Summary
Chapter 11: Orchestrating cloud resources
Introducing the cloud
Setting up an Amazon AWS account
Getting ready to use puppetlabs/aws
Creating EC2 instances with Puppet
Managing custom VPCs and subnets
Provisioning AWS resources from Hiera data
Summary
Chapter 12: Putting it all together
Getting the demo repo
Understanding the demo repo
The bootstrap process
Adapting the repo for your own use
Bootstrapping a new node
Summary
The beginning

What You Will Learn

  • Covers the latest Puppet 4.10 release
  • Install and set up Puppet and discover the latest and most advanced features
  • Configure, build, and run containers in production using Puppet’s industry-leading Docker support
  • Deploy configuration files and templates at super-fast speeds and manage user accounts and access control
  • Automate your IT infrastructure
  • Use the latest features in Puppet 4 onward and its official modules
  • Manage clouds, containers, and orchestration
  • Get to know the best practices to make Puppet more reliable and increase its performance

Authors

Table of Contents

Chapter 1: Getting started with Puppet
Why do we need Puppet anyway?
Configuration management tools
What is Puppet?
Getting ready for Puppet
Summary
Chapter 2: Creating your first manifests
Hello, Puppet – your first Puppet manifest
Managing packages
Services
Summary
Chapter 3: Managing your Puppet code with Git
What is version control?
Creating a Git repo
Distributing Puppet manifests
Fetching and applying changes automatically
Summary
Chapter 4: Understanding Puppet resources
Files
Packages
Services
Users
Cron resources
Exec resources
Summary
Chapter 5: Variables, expressions, and facts
Introducing variables
Introducing expressions
Finding out facts
Iterating over arrays
Summary
Chapter 6: Managing data with Hiera
Why Hiera?
Setting up Hiera
Adding Hiera data to your Puppet repo
Querying Hiera
Writing Hiera data
The hierarchy
Creating resources with Hiera data
Managing secret data
Summary
Chapter 7: Mastering modules
Using Puppet Forge modules
Using modules in your manifests
Exploring the standard library
Writing your own modules
Summary
Chapter 8: Classes, roles, and profiles
Classes
Parameter data types
Defined resource types
Node definitions, roles, and profiles
Summary
Chapter 9: Managing files with templates
What are templates?
Using templates in your manifests
Iteration in templates
Summary
Chapter 10: Controlling containers
Understanding containers
Deployment with Docker
Managing Docker with Puppet
Managing Docker images
Building dynamic containers
Persistent storage for containers
Networking and orchestration
Running Puppet inside containers
Summary
Chapter 11: Orchestrating cloud resources
Introducing the cloud
Setting up an Amazon AWS account
Getting ready to use puppetlabs/aws
Creating EC2 instances with Puppet
Managing custom VPCs and subnets
Provisioning AWS resources from Hiera data
Summary
Chapter 12: Putting it all together
Getting the demo repo
Understanding the demo repo
The bootstrap process
Adapting the repo for your own use
Bootstrapping a new node
Summary
The beginning

Book Details

ISBN 139781787124004
Paperback268 pages
Read More

Read More Reviews