更新时间:2021-07-02 16:30:06
coverpage
Extending Puppet Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Puppet Essentials
The Puppet ecosystem
Puppet components
Installing and configuring Puppet
Puppet in action
Variables facts and scopes
Meta parameters
Managing order and dependencies
Reserved names and allowed characters
Conditionals
Comparison operators
Iteration and lambdas
Exported resources
Modules
Restoring files from a filebucket
Summary
Chapter 2. Managing Puppet Data with Hiera
Installing and configuring Hiera
Working with the command line on a YAML backend
Using Hiera in Puppet
Additional Hiera backends
Using Hiera as an ENC
Chapter 3. Introducing PuppetDB
Installation and configuration
Dashboards
PuppetDB API
Querying PuppetDB for fun and profit
The puppetdbquery module
How Puppet code may change in the future
Chapter 4. Designing Puppet Architectures
Components of a Puppet architecture
The Foreman
Roles and profiles
The data and the code
Sample architectures
Chapter 5. Using and Writing Reusable Modules
Modules layout evolution
The parameters dilemma
Reusability patterns
Chapter 6. Higher Abstraction Modules
The OpenStack example
An approach to reusable stack modules
Tiny Puppet
Chapter 7. Puppet Migration Patterns
Examining potential scenarios and approaches
Patterns for extending Puppet coverage
Things change
Chapter 8. Code Workflow Management
Write Puppet code
Git workflows
Code review
Testing Puppet code
Deploying Puppet code
Propagating Puppet changes
Puppet continuous integration
Chapter 9. Scaling Puppet Infrastructures
Scaling Puppet
Measuring performance
Chapter 10. Extending Puppet
Anatomy of a Puppet run under the hood
Puppet extension alternatives
Custom functions
Custom facts
Custom types and providers
Custom report handlers
Custom faces
Chapter 11. Beyond the System
Puppet on network equipment
Puppet for cloud and virtualization
Puppet on storage devices
Puppet and Docker
Chapter 12. Future Puppet
Changing the serialization format
Direct Puppet
Other changes
Beyond Puppet 4.x