Puppet Cookbook - Third Edition
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Share book
  1. 336 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Puppet Cookbook - Third Edition

Thomas Uphill, John Arundel

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Puppet Cookbook - Third Edition an online PDF/ePUB?
Yes, you can access Puppet Cookbook - Third Edition by Thomas Uphill, John Arundel in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784394882

Puppet Cookbook Third Edition


Table of Contents

Puppet Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Puppet Language and Style
Introduction
Adding a resource to a node
How to do it...
How it works...
Using Facter to describe a node
How to do it...
How it works...
There's more...
Variables
Scope
Installing a package before starting a service
How to do it...
How it works...
Capitalization
Learning metaparameters and ordering
Trifecta
Idempotency
Installing, configuring, and starting a service
How to do it...
How it worksā€¦
Using community Puppet style
How to do itā€¦
Indentation
Quoting
False
Variables
Parameters
Symlinks
Creating a manifest
How to do it...
There's moreā€¦
Checking your manifests with Puppet-lint
Getting ready
How to do it...
There's more...
See also
Using modules
How to do itā€¦
How it worksā€¦
There's moreā€¦
Templates
Facts, functions, types, and providers
Third-party modules
Module organization
See also
Using standard naming conventions
How to do itā€¦
There's moreā€¦
Using inline templates
How to do itā€¦
How it worksā€¦
There's more...
See also
Iterating over multiple items
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using hashes
Creating arrays with the split function
Writing powerful conditional statements
How to do itā€¦
How it worksā€¦
There's moreā€¦
Elseif branches
Comparisons
Combining expressions
See also
Using regular expressions in if statements
How to do itā€¦
How it worksā€¦
There's moreā€¦
Capturing patterns
Regular expression syntax
See also
Using selectors and case statements
How to do itā€¦
How it worksā€¦
Selector
Case statement
There's moreā€¦
Regular expressions
Defaults
Using the in operator
How to do itā€¦
There's moreā€¦
Using regular expression substitutions
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using the future parser
Getting ready
How to do it...
Appending to and concatenating arrays
Lambda functions
Reduce
Filter
Map
Slice
Each
Other features
2. Puppet Infrastructure
Introduction
Installing Puppet
Getting ready
How to do it...
Managing your manifests with Git
Getting ready
How to do it...
How it works...
There's more...
Creating a decentralized Puppet architecture
Getting ready
How to do it...
How it works...
Writing a papply script
How to do it...
How it works...
Running Puppet from cron
Getting ready
How to do it...
How it works...
There's more...
Bootstrapping Puppet with bash
Getting ready
How to do it...
How it works...
There's more...
Creating a centralized Puppet infrastructure
Getting ready
How to do it...
How it works...
There's more...
Creating certificates with multiple DNS names
Getting ready
How to do it...
How it works...
Running Puppet from passenger
Getting ready
How to do it...
How it works...
There's more...
Setting up the environment
Getting ready
How to do it...
There's more...
Configuring PuppetDB
Getting ready
How to do it...
How it works...
There's more...
Configuring Hiera
Getting ready
How to do it...
How it works...
There's more...
Setting node-specific data with Hiera
Getting ready
How to do it...
How it works...
Storing secret data with hiera-gpg
Getting ready
How to do it...
How it works...
There's more...
See also
Using MessagePack serialization
Getting ready
How to do it...
How it works...
Automatic syntax checking with Git hooks
How to do it...
How it works...
Pushing code around with Git
Getting ready
How to do it...
How it works...
Managing Environments with Git
Getting ready
How to do it...
How it works...
There's more...
3. Writing Better Manifests
Introduction
Using arrays of resources
How to do itā€¦
How it worksā€¦
See also
Using resource defaults
How to do it...
How it works...
There's more...
Using defined types
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using tags
How to do it...
There's moreā€¦
Using run stages
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using roles and profiles
How to do itā€¦
How it worksā€¦
There's moreā€¦
Passing parameters to classes
How to do itā€¦
How it worksā€¦
There's moreā€¦
Specifying default values
Passing parameters from Hiera
Getting ready
How to do it...
How it works...
There's more...
Writing reusable, cross-platform manifests
How to do itā€¦
How it works...
There's moreā€¦
See also
Getting information about the environment
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Importing dynamic information
Getting ready
How to do itā€¦
How it worksā€¦
There'...

Table of contents