Mastering puppet master Puppet for configuration management of your sysetms in an enterprise deployment
Master Puppet for configuration management of your systems in an enterprise deployment About This Book This book is an advanced guide to using and deploying Puppet 4 in your organization with a special focus on issues faced in larger enterprise deployments From an experienced author, learn to deal w...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2016.
|
Edición: | 2nd ed |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630077106719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Dealing with Load/Scale; Divide and conquer; Certificate signing; Reporting; Storeconfigs; Catalog compilation; puppetserver; Building a Puppet master; Certificates; systemd; Creating a load balancer; Keeping the code consistent; One more split; One last split or maybe a few more; Conquer by dividing; Creating an rpm; Using Puppet resource to configure cron; Creating the yum repository; Summary; Chapter 2: Organizing Your Nodes and Data; Getting started
- Organizing the nodes with an ENCA simple example; Hostname strategy; Modified ENC using hostname strategy; LDAP backend; OpenLDAP configuration; Hiera; Configuring Hiera; Using hiera_include; Summary; Chapter 3: Git and Environments; Environments; Environments and Hiera; Multiple hierarchies; Single hierarchy for all environments; Directory environments; Git; Why Git?; A simple Git workflow; Git hooks; Using post-receive to set up environments; Puppet-sync; Using Git hooks to play nice with other developers; Not playing nice with others via Git hooks; Git for everyone; Summary
- Chapter 4: Public ModulesGetting modules; Using GitHub for public modules; Updating the local repository; Modules from the Forge; Using Librarian; Using r10k; Using Puppet-supported modules; concat; inifile; firewall; Logical volume manager; Standard library; Summary; Chapter 5: Custom Facts and Modules; Module manifest files; Module files and templates; Naming a module; Creating modules with a Puppet module; Comments in modules; Multiple definitions; Custom facts; Creating custom facts; Creating a custom fact for use in Hiera; CFacter; Summary; Chapter 6: Custom Types; Parameterized classes
- Data typesDefined types; Types and providers; Creating a new type; Summary; Chapter 7: Reporting and Orchestration; Turning on reporting; Store; Logback; Internet relay chat; Foreman; Installing Foreman; Attaching Foreman to Puppet; Using Foreman; Puppet GUIs; mcollective; Installing ActiveMQ; Configuring nodes to use ActiveMQ; Connecting a client to ActiveMQ; Using mcollective; Ansible; Summary; Chapter 8: Exported Resources; Configuring PuppetDB - using the Forge module; Manually installing PuppetDB; Installing Puppet and PuppetDB; Installing and configuring PostgreSQL
- Configuring puppetdb to use PostgreSQLConfiguring Puppet to use PuppetDB; Exported resource concepts; Declaring exported resources; Collecting exported resources; Simple example - a host entry; Resource tags; Exported SSH keys; sshkey collection for laptops; Putting it all together; Summary; Chapter 9: Roles and Profiles; Design pattern; Creating an example CDN role; Creating a sub-CDN role; Dealing with exceptions; Summary; Chapter 10: Troubleshooting; Connectivity issues; Catalog failures; Full trace on a catalog compilation; The classes.txt file; Debugging; Personal and bugfix branches
- Echo statements