Puppet 5 Essentials - Third Edition.
A Guide to managing servers and automation About This Book Breeze through Puppet's key features and performance improvements to bring real advantages to your IT infrastructure Discover Puppet best practices to help you avoid common mistakes and pitfalls Examples to help you get to grips with Pu...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2017.
|
Edición: | 3rd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Writing Your First Manifests; Getting started; Introducing resources, parameters, and properties; Interpreting output of the puppet apply command; Dry testing your manifest; Using variables; Variable types; Data types; Adding control structures in manifests; Controlling the order of execution; Declaring dependencies; Error propagation; Avoiding circular dependencies; Implementing resource interaction; Examining Puppet core resource types.
- The user and group typesThe exec resource type; The cron resource type; The mount resource type; Summary; Chapter 2: Puppet Server and Agents; The Puppet server; Setting up the server machine; Creating the master manifest; Inspecting the configuration settings; Setting up the Puppet agent; The agent's life cycle; Renewing an agent's certificate; Running the agent from cron; Performance optimizations; Tuning puppetserver; Completing the stack with PuppetDB; The Puppet CA; Summary; Chapter 3: A Peek into the Ruby Part of Puppet
- Facts, Types, and Providers.
- Putting it all together
- collecting system information with FacterAccessing and using fact values; Extending Facter with custom facts; Simplifying things using external facts; Goals of Facter; Understanding the type system; The resource type's life cycle on the agent side; Command execution control with providers; Resource types with generic providers; Summarizing types and providers; Putting it all together; Summary; Chapter 4: Combining Resources in Classes and Defined Types; Introducing classes and defined types; Defining and declaring classes; Creating and using defined types.
- Understanding and leveraging the differencesDesign patterns; Writing comprehensive classes; Writing component classes; Using defined types as resource wrappers; Using defined types as resource multiplexers; Using defined types as macros; Exploiting array values using defined types; Using iterator functions; Including classes from defined types; Ordering and events among classes; Passing events between classes and defined types; Ordering containers; Limitations; The performance implications of container relationships; Mitigating the limitations; The anchor pattern; The contain function.
- Making classes more flexible through parametersThe caveats of parameterized classes; Preferring the include keyword; Summary; Chapter 5: Combining Classes, Configuration Files, and Extensions into Modules; The contents of Puppet's modules; Parts of a module; Module structure; Documentation in modules; Managing environments; Configuring environment locations; Obtaining and installing modules; Module best practices; Putting everything in modules; Avoiding generalization; Testing your modules; Safe testing with environments; Building a component module; Naming your module.