,

Puppet Best Practices

Design patterns for maintainable code

Ingenaaid Engels 2018 1e druk 9781491923009
€ 57,62
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

If you maintain or plan to build Puppet infrastructure, this practical guide will take you a critical step further with best practices for managing the task successfully. Authors Chris Barbour and Jo Rhett present best-in-class design patterns for deploying Puppet environments and discuss the impact of each. The conceptual designs and implementation patterns in this book will help you create solutions that are easy to extend, maintain, and support.

Essential for companies upgrading their Puppet deployments, this book teaches you powerful new features and implementation models that weren't available in the older versions. DevOps engineers will learn how best to deploy Puppet with long-term maintenance and future growth in mind.

- Explore Puppet's design philosophy and data structures
- Get best practices for using Puppet's declarative language
- Examine Puppet resources in depth-the building blocks of state management
- Learn to model and describe business and site-specific logic in Puppet
- See best-in-class models for multitiered data management with Hiera
- Explore available options and community experience for node classification
- Utilize r10k to simplify and accelerate Puppet change management
- Review the cost benefits of creating your own extensions to Puppet
- Get detailed advice for extending Puppet in a maintainable manner

Specificaties

ISBN13:9781491923009
Taal:Engels
Bindwijze:ingenaaid
Aantal pagina's:288
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:19-9-2018
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Jo Rhett

Jo Rhett is a network architect and DevOps engineer with 20 years of experience conceptualizing and delivering large-scale Internet services. He focuses on creating automation and infrastructure to accelerate deployment and minimize outages. Jo has been using, promoting, and enhancing configuration management systems for over 20 years. He builds improvements and plugins for CfEngine, Puppet, MCollective, and many other DevOps tools. Jo is the author of Learning Puppet 4, Learning MCollective, and Instant Puppet 3 Starter (Packt).

Andere boeken door Jo Rhett

Inhoudsopgave

Preface
What Is a Best Practice?
Who Should Read This Book
Why We Wrote This Book
A Word on Puppet Today
Navigating This Book
Online Resources
Conventions Used in This Book
Using Code Examples
O’Reilly Safari
How to Contact Us
Acknowledgments

1. The Puppet Design Philosophy
Declarative Code
What Is Declarative Code, Anyway?
Resource Types and Providers
Procedural Example
Nondeclarative Code with Puppet
Idempotency
Side Effects
Resource-Level Idempotence
Run-Level Idempotence
Nondeterministic Code
Stateless
Benefits of Stateless Design
Sources of State Information
Summary

2. High-Level Code and Data Design
Code and Data Organization
Code and Data Categories
Types of Code Logic
Examples of Logic Types
Mapping Data Types to Puppet Use Cases
Application Logic and Puppet Modules
Business Logic Should Not Be Written into Component Modules
Business Logic with Roles and Profiles
Business, Service, Site, Node, and Application Data
Hiera Data Sources
Node Classification
Summary

3. Coding Practices
The Style Guide
Coding Principles
KISS: Keep It Simple
The Single Responsibility Principle
Separation of Concerns
Interface-Driven Design
DRY: Don’t Repeat Yourself
Don’t Reinvent the Wheel
Code Practices
Balance of Resources Versus Logic
Balance of Code Versus Data
Conditional Logic
Iteration
Generating Lists
Variables
Variable Naming
Afgekapt op 60 regels

Managementboek Top 100

€ 57,62
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Puppet Best Practices