更新时间:2021-07-08 10:08:11
封面
版权页
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
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
Chapter 3. Managing your Puppet code with Git
What is version control?
Creating a Git repo
Distributing Puppet manifests
Fetching and applying changes automatically
Chapter 4. Understanding Puppet resources
Files
Packages
Users
Cron resources
Exec resources
Chapter 5. Variables expressions and facts
Introducing variables
Introducing expressions
Finding out facts
Iterating over arrays
Chapter 6. Managing data with Hiera
Why Hiera?
Setting up Hiera
Adding Hiera data to your Puppet repo
Querying Hiera
Types of Hiera data
Interpolation in Hiera data
The hierarchy
Creating resources with Hiera data
Managing secret data
Chapter 7. Mastering modules
Using Puppet Forge modules
Using modules in your manifests
Exploring the standard library
Writing your own modules
Chapter 8. Classes roles and profiles
Classes
Parameter data types
Defined resource types
Managing classes with Hiera
Roles and profiles
Chapter 9. Managing files with templates
What are templates?
Using templates in your manifests
Iteration in templates
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
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
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