Thomas Uphill, John Arundel - Puppet Cookbook, 3rd Edition [2015, PDF/EPUB, ENG] + Code

Видео уроки, книги, учебники по компьютерным сетям и коммуникациям
Торрент Сидеров Личеров Размер
14 5 14.48 МБ
Аватара пользователя
Сообщения: 22944
Зарегистрирован: 13 янв 2016, 22:10

Thomas Uphill, John Arundel - Puppet Cookbook, 3rd Edition [2015, PDF/EPUB, ENG] + Code

Сообщение Солнышко » 26 фев 2017, 01:33

Puppet Cookbook, 3rd Edition

Год: 2015
Автор: Thomas Uphill, John Arundel
Издательство: Packt Publishing
ISBN: 978-1-78439-488-2
Язык: Английский
Формат: PDF/EPUB
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 336

About This Book

Quickly grasp recipes that work with centralized and decentralized deployments
Explore language differences and enhancements anticipated in Puppet version 4
Gain expert understanding of Puppet’s latest and most advanced features
Step-by-step detailed recipes that help you take control of your servers and desktops

Who This Book Is For

This book is for anyone who builds and administers servers, especially in a web operations context. It requires some experience of Linux systems administration, including familiarity with the command line, file system, and text editing. No programming experience is required.

What You Will Learn

Install and set up Puppet for the first time
Discover the latest, most advanced, and experimental features of Puppet
Bootstrap your Puppet installation
Master techniques to deal with centralized and decentralized Puppet deployments
Use exported resources and forge modules
Create efficient manifests to streamline your deployments
Automate Puppet master deployment using Git hooks, r10k, and PuppetDB
Make Puppet reliable, performant, and scalable

In Detail

Puppet is a configuration management system that automates all your IT configurations, giving you control of what you do to each node, when you do it, and how you do it.

Puppet Cookbook Third Edition takes the reader from a basic knowledge of Puppet to a complete and expert understanding of Puppet’s latest and most advanced features. Updated with the latest advancements and best practices, it gives you a clear view on how to "connect the dots" and expands your knowledge to successfully use and extend Puppet.

This book delves into various aspects of writing good Puppet code, which includes using Puppet community style, checking your manifests with puppet-lint, and learning community best practices, with an emphasis on real-world implementation.
Chapter 1: Puppet Language and Style

Adding a resource to a node
Using Facter to describe a node
Installing a package before starting a service
Installing, configuring, and starting a service
Using community Puppet style
Creating a manifest
Checking your manifests with Puppet-lint
Using modules
Using standard naming conventions
Using inline templates
Iterating over multiple items
Writing powerful conditional statements
Using regular expressions in if statements
Using selectors and case statements
Using the in operator
Using regular expression substitutions
Using the future parser
Chapter 2: Puppet Infrastructure
Installing Puppet
Managing your manifests with Git
Creating a decentralized Puppet architecture
Writing a papply script
Running Puppet from cron
Bootstrapping Puppet with bash
Creating a centralized Puppet infrastructure
Creating certificates with multiple DNS names
Running Puppet from passenger
Setting up the environment
Configuring PuppetDB
Configuring Hiera
Setting node-specific data with Hiera
Storing secret data with hiera-gpg
Using MessagePack serialization
Automatic syntax checking with Git hooks
Pushing code around with Git
Managing Environments with Git
Chapter 3: Writing Better Manifests
Using arrays of resources
Using resource defaults
Using defined types 8
Using tags
Using run stages
Using roles and profiles
Passing parameters to classes
Passing parameters from Hiera
Writing reusable, cross-platform manifests
Getting information about the environment
Importing dynamic information
Passing arguments to shell commands
Chapter 4: Working with Files and Packages
Making quick edits to config files
Editing INI style files with puppetlabs-inifile
Using Augeas to reliably edit config files
Building config files using snippets
Using ERB templates
Using array iteration in templates
Using EPP templates
Using GnuPG to encrypt secrets
Installing packages from a third-party repository
Comparing package versions
Chapter 5: Users and Virtual Resources
Using virtual resources
Managing users with virtual resources
Managing users' SSH access
Managing users' customization files
Using exported resources
Chapter 6: Managing Resources and Files
Distributing cron jobs efficiently
Scheduling when resources are applied
Using host resources
Using exported host resources
Using multiple file sources
Distributing and merging directory trees
Cleaning up old files
Auditing resources
Temporarily disabling resources
Chapter 7: Managing Applications
Using public modules
Managing Apache servers
Creating Apache virtual hosts
Creating nginx virtual hosts
Managing MySQL
Creating databases and users
Chapter 8: Internode Coordination
Managing firewalls with iptables
Building high-availability services using Heartbeat
Managing NFS servers and file shares
Using HAProxy to load-balance multiple web servers
Managing Docker with Puppet
Chapter 9: External Tools and the Puppet Ecosystem
Creating custom facts
Adding external facts
Setting facts as environment variables
Generating manifests with the Puppet resource command
Generating manifests with other tools
Using an external node classifier
Creating your own resource types
Creating your own providers
Creating custom functions
Testing your Puppet manifests with rspec-puppet
Using librarian-puppet
Using r10k
Chapter 10: Monitoring, Reporting, and Troubleshooting
Noop – the don't change anything option
Logging command output
Logging debug messages
Generating reports
Producing automatic HTML documentation
Drawing dependency graphs
Understanding Puppet errors
Inspecting configuration settings
У вас нет необходимых прав для просмотра вложений в этом сообщении.