Cargando…

Puppet 4 essentials : acquire the skills to manage your IT infrastructure effectively with Puppet /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Frank, Felix (Autor), Alfke, Martin (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Edición:Second edition.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Writing Your First Manifests; Getting started; Introducing resources and properties; Interpreting the output of the puppet apply command; Dry-testing your manifest; Adding control structures in manifests; Using variables; Variable types; Controlling the order of evaluation; Declaring dependencies; Error propagation; Avoiding circular dependencies; Implementing resource interaction; Examining the most notable resource types; The user and group types; The exec resource type.
  • The cron resource typeThe mount resource type; Summary; Chapter 2: The Master and Its Agents; The Puppet master; Puppet master and Puppet server; Setting up the master 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 considerations; Tuning puppetserver; Using Phusion Passenger with Nginx; Comparing Passenger with puppetserver; Completing the stack with PuppetDB; Troubleshooting SSL issues; Summary.
  • Chapter 3: A Peek under the Hood
  • Facts, Types, and ProvidersSummarizing systems with Facter; Accessing 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; Substantiating the model with providers; Resource types with generic providers; Summarizing types and providers; Putting it all together; Summary; Chapter 4: Modularizing Manifests with Classes and Defined Types; Introducing classes and defined types; Defining and declaring classes.
  • Creating and using defined typesUnderstanding and leveraging the differences; Structured design 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; Establishing relationships among containers; Passing events between classes and defined types; Ordering containers; Limitations; The performance implications of container relationships.
  • Mitigating the limitationsThe anchor pattern; The contain function; Making classes more flexible through parameters; The caveats of parameterized classes; Preferring the include keyword; Summary; Chapter 5: Extending Your Puppet Infrastructure with Modules; An overview of Puppet's modules; Parts of a module; Module structure; Documentation in modules; Maintaining environments; Configuring environment locations; Obtaining and installing modules; Modules' best practices; Putting everything in modules; Avoiding generalization; Testing your modules; Safe testing with environments.